I can't disagree that your time may be better spent doing other things.
But you can definitely cook with fresh, healthy ingredients and still be way cheaper than eating out. It takes some planning, but it is minimal planning.
Especially if you make common sense alterations to recipes. Many times, online and cookbook recipes are created for the visual wow factor. There are usually expensive ingredients that are not necessary for the dish.
For example, if the dish calls for a teaspoon of capers or fresh parsley or whatever and you don't already have some, you can generally skip it.
And you can also make larger quantities like what you might make for a family and refrigerate or freeze leftovers. Things last a lot longer in the fridge and freezer than many people think.
As do ingredients like milk and eggs. If you keep your fridge adjusted cold enough, milk generally lasts me more than a month. Yogurt and sour cream more than 2 months, usually. Dryer cheeses basically indefinitely if you cut off any mold before eating.
Lettuce and leafy greens are the shortest shelf life for me, but they can be bought in rather small quantities so I just buy as needed.
I supplement that with flash frozen vegetables like frozen vegetable medley mixes or bags of frozen brussel sprouts that will last about as long as you like if they stay frozen.
I also buy large quantities of high quality meats at Costco and simply portion it up and freeze it. I use a vacuum sealer for best results, but ziploc bags are fine. I recently found a steak that had fallen to the back of the freezer. It had to have been there for at least 18 months. I cooked it up and it was delicious.