Sorry to hear this, Josephine, but perhaps this is for the best if he's like this towards you. Can't have been nice living in that situation. Did you report any of this to police? I would suggest you make a diary of each and every threat he makes as this will help you re the legal stuff, possibly. It will also help you protect your children should you think he poses a threat to them, or if you think he will be unreasonable regarding contact.
You deserve so much more than being treated like rubbish