I'm a firm believer in not being trapped in a job you hate, trapped by money, debt & income.
I do think that before someone leaves a current job, a lot must be considered. For example, debt, family (young kids at home to support & take care of), etc.
When I was a senior in high school, my dad made the decision to close down his personal-owned small business that he'd run for 20 years. He didn't like how the industry was going all digital, didn't want to make the massive investment in changing from film to digital and had lost his "passion" for studio portrait photography. My mom asked him if he could do anything he wanted in the whole world, money not a factor, what would he do... and he said he wanted to work on airplanes again like had in the air force. To their credit, they didn't just instantly sell the business and drop their income! I had one year of school to finish and then I'd be out of high school and off to fend for myself. The house was paid off. They had no debt, no car payments, no credit card debt. They were in a financial situation where, once I was out of school, they could take two years of no income so dad could go get his A&P. I am grateful for them for waiting that extra year til I was out of high school before making that huge life change. That was 20 years ago. He's had a very successful career in aviation maintenance, and it's still going strong! He has no regrets of leaving the "known" and taking a chance on something he really wanted to do.
So, chasing income can lead to a very frustrating situation, or you can live smart and within your means and making a career change can be a very feasible thing. Just do the research, gather information, and be smart about it.
In the case of wanting to leave a steady job to be a pilot, like has been suggested earlier in this thread, go get a 1st class medical and a PPL. Start there. Those can be done while continuing to work another job, and don't require quitting or major life changes. With those two things you'll find if you're able to hold the medical, and if you really even like flying *that* much. Maybe you'll want to continue, maybe not. But you can do those things without having to quit your other job.