It is tough to say specially at this time when economy has become unstable and risky with prices rising. Which means you want both at the same time, job security and higher income are now equally important. The best option at a time like this is in my opinion to get a more reliable job that pays the bills but try to have some additional income on the side, like a second job, an investment, even trading could work. That way you have something to fall back on, even if the pay is low, but also you have the secondary income to help the financial situation.
Also, for me, I think it depends on how much quicker you can get another high-paying job if you lose the one you have. If the job pays very well and you're sure that within a short time you can get another job like that, I don't mind sticking to that line of work.
Let's take a freelancer in a particular field, for example. You could get a job in a company where the pay is steady but relatively low, or become a freelancer, earn well, but not have a steady income. If you were able to get another job or project in a short time, then it may be worth it.