That’s fair. Most people don’t. You can probably still grow some food if you have access to a balcony even. It won’t be much, but it can offset some of your reliance on purchasing it.
Also, again, look into mutual aid groups around you. There may be someone who does have space for a garden and produces more than they can consume. Maybe you have some skill or ability that could help them and get some food in return.