It sounds like you deserve a new job with more challenging peers. Environments like that can suck the life out of a bright flame
Reminds me of a younger self going to interview for the technical team at a bank. I arrived full of youthful zest, thoroughly aced the interview. One of the interviewers, who already looked rather zombie-like, accompanied me to the exit. As I walked off he lit a cigarette and shouted after me, "don't accept the offer, this is not a place for someone like you!"
Made a variety of friends over the years who have shared stories of that bank. It's notorious, the interviewer was absolutely right.