@Courtney I don't think this is simply a man's ego, he puts her down to feel better about himself
In my opinion it's emotional abuse, if persistent and intentional. Men who do this chronically are doing it to make sure the woman is insecure about herself and doesn't leave him (both genders do this)
@Mary How can I make this relationship work
It's not in your hands. The only thing you can do is encourage him to get counseling and stop the behavior. If he can't heal himself from self doubt he will keep projecting onto you and making you suffer
Are you communicating your boundaries with him?
Real talk. He's insecure and to his own detriment. Eventually you will resent him and he won't grow enough. You will definitely outgrow him and the relationship too.