What?!?!
I get the feeling your definition of "not a lot more expensive" is a lot more inclusive than mine.
Obviously cost of home cooking vs prepared depends a lot on where you'd eat out and what you'd make for yourself but in my experience fast food off the value menu is about the only thing that's close to cost competitive with cooking for yourself. I would have to eat almost exclusively organic and add a lot of wild non-frozen seafood to my diet if I wanted to make the cost of preparing my own meals close to the cost of buying Chipotle/Five Guys quality prepared food. Maybe the numbers are different for people who shop at Whole Foods or otherwise go out of their way to increase the cost of groceries but your statement that eating out is close to cost competitive with cooking for yourself seems like it's from another universe.