The way I see it, don’t let your superiors know you’re worried about that kind of stuff because if you’re working for a shitty enough company, they will probably hold that over your head.
Oh, you’re not performing well enough. You don’t want to be fired and homeless, do you?
Don’t know if that’s something they can legally do to you, but I wouldn’t put it past a lot of companies to do that to ensure you don’t leave or do anything they don’t want, like ask for a raise or looking for another job on company time.
As a single GenX, this is my biggest fear. I have never been homeless but I have been very close a couple of times. My rent is about half my take home pay and I’m sure it is going up again this year.
I’m Gen X with a masters and work as a computing director. I’ve been homeless 4 times, though I didn’t yet have a masters or this job. None of this has been fun.
Whole tent cities under the freeway routinely get raided by the police and “cleaned up”. And our political climate is increasingly moving toward the view that the non-homeless would be better off moving homeless folks into a prison camp or grave.