وَكُلُوا وَاشْرَبُوا وَلَا تُسْرِفُوا ۚ إِنَّهُ لَا يُحِبُّ الْمُسْرِفِينَ
“Eat and drink, but do not be wasteful. Indeed, He does not like the wasteful.”
God allows us to enjoy good food, and in the same breath forbids excess. Buying, cooking or ordering more than we need, and then throwing it away, is exactly the waste this verse warns against.