a similar accident on the return trip would have spilled the groceries, quite possibly compromising some of the packaging protocols (a nice jar of pasta sauce, for example) and thereby depriving you of the replacement value of the contents.
The universe is not actively engaged in designs against you. It is merely indifferent. Note that billionaires are also prone to debilitating ailments, and also die (although their pillows are fluffed and their bedpans changed during that last fortnight much more frequently than will be thine and mine, two of many reasons that wealth is preferable to poverty).
cordially,