Career you love that is risky or career you are neutral on that guarantees good money?
I love nature and want to pursue something related to environmental science or marine biology, however, I am currently planning to go into a tech career (computer science or computer engineering) because it guarantees a good salary and job security.
First you have to have money to pursue what you are passionate about.
Many high tech companies offer sabbatical where you will be able to do what you are passionate about.
Make money - stash away savings and then pursue what you want to do.
May be there are jobs that allows you to make decent money where you can pursue your lifelong dream.
Of course, that doesn't mean it's not an option for others - some people certainly do follow the money in earlier life and transition to something they enjoy more later. I guess that decision comes down to your personal values - how much do you personally value job satisfaction against pay?
I guess the ideal, as a couple of the others have pointed out, is to find a career where you can satisfy both - and the environmental sector is becoming increasingly tech-focused, so that's certainly an option. My first job was in an environmental lab, and there's plenty of tech in the instrumentation used, but also in the management of data - we had an in-house tech guy who built a Laboratory Information Management System (LIMS) database to keep track of samples and data for us. I'm also aware of people coding machine learning models for research in biology and similar areas. Maybe combination roles along those sort of lines might work out well for you.
Imagine that you have to work on the job for 8 - 10 hours everyday 5 - 6 days a week, it would be a pain if you have no interest on the job. In fact, there is a no job guaranteeing there is a good income. The market trend may change. Recalling the days of financial tsunami in early 2000 and 2008-10, it does not guarantee a good income in any jobs.
To consider from another angle, all industry/career can have good income if you can do it good regardless you are an entrepreneur or work for some corporates. You need to have the commitment and advocacy on the career.
Hope this helps! Good Luck!