It sounds like you're on point in your practical mind - you know you'll be better off and none of this is a reflection on you. He sounds like a truly terrible person. I'm very sorry he was such a bullying shitstain on the way out. You definitely deserve much better.