This is great advice. This situation happens much more often than people think. No one in the office ever wants to discuss it out of fear of retaliation. One of my first Medium articles was on this topic - https://aalexjdiaz.medium.com/how-to-empower-yourself-when-your-boss-is-making-your-life-hell-9d3433b075a0
Alejandro Diaz writes about culture, politics, and the workplace. His new business, D & E Management Solutions, Embraces Humanity at work https://dandems.com