These are the constraints in employment: high compensation, fulfillment, or stability. You can pick one, maybe two.
If you want a meaningful and stable job, choose to work in a stable industry (such as Federal Government), and forego the high compensation.
Follow your passion and discover your personal Ikigai. Save money for the rainy days and times of uncertainty.