Your boss is not well. Spiritually, professionally, not even cosmically. They've developed a concerning obsession with trying to put and keep you in your place. Every time you demonstrate competence, another tiny piece of their already fragile ego shatters. They never wanted a good employee; they wanted someone to nod enthusiastically at their mediocre ideas and pretend their presence is a gift to the organisation.
Unfortunately, you've arrived with your own brain, opinions and professional capabilities, highlighting your bosses incompetence.
A professional downfall is on the horizon, and it's not yours, unfortunately for your boss.
Your future is taking you somewhere considerably bigger. Theirs, on the other hand, appears to involve explaining their behaviour to someone in HR and the karmic gods. We suggest you keep the receipts. All of them.

☾⋆。𖦹 °✩ 𓂀 ✧ ೃ༄*ੈ✩