I have not been homeless in almost a decade.
But my homelessness was deeply influenced by the fact that my mother was homeless before me, for many years.
I loved her so much. When your own mother hits the streets, you learn something. When she was homeless, a part of me was homeless.
That is actually how the Buddha sees homelessness: If you suffer, I can embrace that. This is not an embrace as if it is a burden.