Please don't stay because of the pay. You won't look back in 25 years and say "I'm so glad I bought a new iPhone in 2016, but didn't do the things I wanted to in life"
The last company I worked for was full of people only staying because retirement was "only" 10-15 years away, and they were not a healthy/happy lot.
You'd be giving up your life "now" in the hopes of a good life "then", which is insanity.
I have left Software twice now to pursue my goals - the first time I spent two years driving Alaska->Argentina more-or-less on vacation, and right now I'm spending two years driving around Africa. I'm exploring my passions while on the road for writing, photograph, videography, languages, etc. etc. I have less money now, and a lot more happiness.