Is it more satisfying to be good at a job one doesn't believe in, or mediocre in a job one cares about deeply?
https://80000hours.org/career-guide/job-satisfaction/
If I had to choose though I'd go for being good at the job you don't believe in. At least that way you have a better chance to build career capital and go into something better later.