This is arrogant thinking typical of developers. Most developers I have talked to (including myself 10 years ago) thinks that they or their friends who agree with them about all sorts of random code quirks are the only one that does work and "carries" the team, and everyone else's work is largely useless. The reality is that a lot of people do a lot of jobs; and they are not perfectly equally distributed, but they are often all necessary and contribute to a large extent.
I recommend a clear, fresh look at the team; or get the opinion of some third party that is not your SWE friend (who is going to be just as sycophantic as the latest LLM, perhaps more). You might find that others at work appreciate them more than your superstar coding. Thinking that their jobs are useless makes you feel good, but may not be the truth.