I've been having my groceries delivered since before covid. I'll gladly pay the $7 fee to keep from having to stand in line at the supermarket. I've had very few issues with produce or dated products and if I do it takes a few seconds to get a refund.
Sometimes you can't tell that is an issue with a product even if you there in person and to get a refund you'd have to drive back to the store. An example once I ordered some fresh sliced fruit, a container of Strawberries and Pineapple (btw amazing combo if you've never had it). Turned out the Pineapple was all core, you couldn't even stick a fork in it, was so hard my garbage disposal struggled with it. It was a little pricey so I was happy to be able to get a refund with just a couple clicks.
I use Amazon Fresh and Safeway. Safeway has a bigger selection but Fresh is cheaper and I'm not sue how they do this but when you put an item in your cart you will always get that item. With Safeway sometimes an item might be out of stock.