Yo, this might be a joke but speaking to you as a social worker who has worked in housing and homelessness services and food banks?
ALWAYS CHOOSE YOUR RENT.
Food pantries are a punch in the nuts to your pride but they require WAY less hoops to jump through to get than the financial side of housing assistance. Also, there is often going to be MORE RESOURCES AVAILABLE for you when it comes to food assistance of MULTIPLE TYPES (food stamps/ebt, places that double said EBT, food pantries, places that just give away free food like soup kitchens, places that give away their leftovers from the day before etc) rather than housing assistance which are neither numerous nor are people likely to apply for.
I personally have used food pantries. I may have to use them again. They are there to help you for that reason, okay? Please fucking choose to pay your rent until we can abolish landlords and live on mutual aid.
Stay housed. Do you hear me, if this choice happens, seek mutual aid or charity for food and STAY HOUSED. Statistically, it is better to take the hit to your pride, go ask for food assistance, and sleep in your bed and eat that food in your home because coming back from losing said home is going to be so much harder that recovering from food insecurity is.
ITS FUCKED UP THAT WE HAVE TO CHOOSE BUT PLEASE TRUST ME ON THIS ONE OK? JUST TRUST ME.
(Also your friends are more likely to be able to help you with food than they are with rent. Just truth.)