There is a plan to correct and help the many problems of all humans. There is a plan created in our behalf.
To answer your concerns that may effect many people and already have , soon changes will take place ,the world is an example of a bucket full of holes, homelessness is one of the holes ,As you have stated this could happen to anyone, but not for long .
Even though this and many other injustices are happening ,There is a limit ! it will end .
Notice what is written.
One greater then us was Jesus ,he himself faced this ,even though he was of royalty being God's own son.
On earth he says at Reference Bible Lu 9:58 And Jesus said to him: “Foxes have dens and birds of heaven have roosts, but the Son of man has nowhere to lay down his head.”
Because the world was in the power of the wicked one for a short amount of time.
Notice Reference Bible Mt 4:9 and he (satan).said to him: “All these things I will give you if you fall down and do an act of worship to me.”
Jesus refused .
For evil men will be done away with,
But those hoping in Jehovah will possess the earth.
10 Just a little while longer, and the wicked will be no more;
You will look at where they were,
And they will not be there.
11 But the meek will possess the earth,
And they will find exquisite delight in the abundance of peace.
the Heavenly Father will undo all the damage done by satan and his followers.
Reference Bible Isa 65:21 And they will certainly build houses and have occupancy; and they will certainly plant vineyards and eat [their] fruitage.
We have a wonderful hope ahead.