The best way to deal with a bad manager is to meet them where they are. https://leaddev.com/culture/what-when-you-have-bad-manager