Instead you buy a microwaveable rice dish. It's about the same cost as actual rice (just a bit more expensive), far quicker to cook, tastes better than unseasoned undercooked rice, and is usually pretty unhealthy.
When it comes to spoilable things like meat, it's difficult to know ahead of time when you'll be able to cook a proper dinner and therefore plan your purchases. You might well end up just catching a burger at a fast food place and never get a chance to cook the $8 of meat you bought.
Now I'm in a place where I cook all my meals. I can go to the store twice a week and buy nice cuts of steak or chicken. I can take two hours to make a fancy meal. I have no shortage of things to season with (imported oil, foreign spices, etc). I eat much better now for less total cost, but I have more upfront costs and much more time invested.