Updated my comment. You are very correct.
FWIW I don't usually give general "advice for the homeless" in these threads either, despite having directly experienced it myself and volunteered with homeless people for years after getting out. The choice of action depends too much on local/regional institutions and dynamics, and individual particulars.
I hope op finds the resources they need, and gets to a better place in life, as you have.