So, the title of this article should instead be "I am ignoring my boss".
It's entirely possible that your boss is sitting in their office thinking about their employee that avoids them constantly and shows no initiative to involve themselves in new projects.
I don't mean to say this in a derogatory way, but I've worked with people that describe their work environment like you did in the OP. They get fired, say they knew it was coming, then blame everything but themselves.
You know what the most common advice is and you actively shun it.
Until you take some initiative, engage with your fellow humans and own up to your insecurities, you will always feel like the world is conspiring against you. It's not. The world largely doesn't care about you, doesn't remember you and is fine discarding motionless parts in the machine.
MAKE yourself useful, or accept that you didn't.