My former manager was extremely "nice" when she informed me that I would now be reporting to my (male) colleague with less experience and education than myself (female). She even sent me a birthday gift! /s
Back to the main issue though, when I pointed out this discrepancy, I was advised to "help him" learn the ropes of management. I did check my calendar to make sure it was indeed 2023 and NOT 1970. Once that was cleared up, I noped right out of there as I was not particularly interested in taking on that task. Got a pretty significant raise from leaving so everything worked out. Still sucks to have experienced this though.