I'm sure you're not ugly. He probably just says that, because he wants to keep your confidence nice and low so you'll continue to put up with his awful behaviour. He sounds horrible. Anyway, being pretty doesn't matter if you're kind.
If you haven't already, get hold of a copy of Lundy Bancroft's Why Does He Do That. Even if you've already realised he's abusive, it will help you process what you've been through, and give you the tools to choose better next time (if you decide that you want there to be a next time). Call Women's Aid when you get the chance. 0808 2000 247.
Go and see a lawyer as soon as possible. A lot of them do free half hour consultations. You might find you're entitled to more than you expect, seeing as you're married. Does he work?
You have no confidence now, because you live with a vicious, controlling bully. But your confidence will return, once you leave him. You will be amazed how quickly it comes back. You will get out into the world, and find that there are plenty of people who think you're worthy of respect. There will be people who think you're attractive. There will be people who register your kindness, and who know it's the most important quality a person can have.
You're doing the right thing. Don't look back.