This is just my personal approach to being disillusioned with tech, but I think about it a lot so I thought I'd share. I think one of the most dangerous cliches we are taught when we are young is "do what you love, and you'll never work a day in your life". It sets up the expectation that your passion and your job should be tightly coupled, and if they aren't, there's something flawed with you. Having a job where you…
Job progression up the ladder is mostly inferior to lateral progression to a new company. That's partly why people stay such a short time in a role. You'll get no loyalty, humanity, or recognition from the company. Give them the minimum to keep them happy and keep your job and focus the rest of your energy on something that will benefit you.
Unless you are forced to do work you don't enjoy (work is what brings food to the table etc.), you should obviously find better work. Also, even if you are stuck, try to get out of it as soon as possible.
Choosing to do work you don't care about is simply bad decision making due to lack of understanding. In the long run it may even reduce the quality of your life.