Office politics does happen, but not to the same degree everywhere. It sounds like you have had an unusually bad experience.
Part of the reason I have been freelance and founder for 30Y+ is to insulate myself from such idiocy to some degree. That might work for you too.