Quitting just because you are not paid enough is so 2014. I will gladly take 50% less, if you keep me!
There is no guarantee that your current stable job will not suddenly come to an end for many reasons. Outside of a few rare companies, there is absolutely no reason to stay, if they are not paying you market rate.