In 1990 I visited Switzerland
I took the train from Zurich to Lucerne.
Once outside the city out in the country we came to one of the first stops.
There were hundreds of garden plots right near the station along the tracks.
I asked a local who told me that people who live in apartments in Zurich rented the garden plots so they could grow some of their own fresh vegetables.
It gave me a lot of respect for the Swiss people.
They have allotments in the UK as well. Had one behind our house. Our cat loved to hunt there.
While that is laudable, I am cynical in such severe times, where even your friends would/could be forced to raid gardens to survive.