Once, in one of the work chats, we discussed who and how got into the profession. Colleagues told their stories, which responded to our recruiter, who herself, by the way, is a physicist-mathematician by education. Still, after working some time in a specialty, she successfully retrained on the site
https://www.vocationaltraininghq.cоm/. That is, I think it is possible to find another job if you no longer like what you do, and I realize that there are many examples when people are happy to decide on such changes.