Hi Op
Your husband is being a Total head fuck.!!
I agree with @AnyFucker too,
Its that very old chestnut of "do as i say but don't do what I do".
your husband is staggering hypocrital and he knows it too,
He would never accept this kind of behavior if it was other way around,that's what struck me,
what you are going through its soul destroying he gets a thrill/kick of his ego being massaged and maybe that's not only thing, thats being massaged..
Op I dont think his behavior will change,
I think you need to read him riot act,and mean it, even to extent of kicking him out or moving out for him to know you mean business this time.!!
(He would need to have a shit ton of therapy sessions to see why he is like this and change his behavior and even then.
There is no guarantee he will change.!!
I think you far better off ditching him tbh,