I can very much relate to your description of a pointless job. My last workplace felt like that for me and I could get nearly all my work done in only a couple hours.
After losing that job and starting my own freelance-style career I am much more mentally healthy, and I’m realizing my potential that I was squandering before.