I know it's hard, but I guess it's a good idea to live below your means in case something happens, and also save considerably to face moments of uncertainty. People with tech salaries can do it. Most of the world (and country, independently of where you live) live with much less.