What I don’t understand is, what’s the logic behind working for such organisations that, I wouldn’t say pay less, but, despite being aware of the cost of living in the area, don’t pay accordingly. As long as you work for them, they assume that it’s your duty to make do with whatever you are getting.
These tech companies are overhyped. Get a better, more rewarding occupation for yourself. If they have fired you, and if you were spending more money than you were making, maybe it is a good thing.