This assumes that gardening is free. Which it is not. Still better to grow your own though.
It is also labour intensive and not that easy. This year, I must have put dozens of hours of labour to get 8 tomatoes, 5 cucumbers and some chives. We got too much rain.
Let me encourage you to attempt deep water hydroponic growing of those tomatoes. Easiest fucking thing I’ve ever done, I only have to check them once a week to refill the water other than that I don’t do shit and I get nice large cherry tomato harvests.
You basically just need a large barrel or bucket, an air pump, and a little air Stone from like a fish tank or something. Plant goes into the water air bubbler goes down so that the roots don’t drown mix in some hydroponic nutrients and you’re done sit back and ignore it