Ok. I'm going to tell you what I did around the time when my exH and I separated. Not because I'm suggesting you do, but because it really helped me to focus on who I am, what I'm about and what I want to achieve.
I made a 'thing' about me. Called, um, About Me.
And I basically made lists about me. My personality, my achievements, my values, my lifestyle.
So things such as: I listed my academic achievements so that I could see them written down. I then also included things that I wanted to achieve, e.g. a Masters and PhD. I also included things like being a vegetarian, my political and social values, my personal qualities, the fact I like walking and camping. Literally, everything that I could think of.
By also including things that didn't already describe me, but that I aspired to, like "I run", I was focused to make those things the truth. e.g. I downloaded the couch to 5k podcasts and started running. And I started new hobbies, made new friends and took on new responsibilities. I'm pretty happy with my life, right now.
It helped to keep me focused and stop being 'passive'.
You may find that your increased confidence means your marriage improves. you might decide that you'd be better of ending it.
You say that your husband does not respect or love you. It's time then, my dear, to start respecting and loving yourself.
After all, learning to love yourself is the greatest love of all (and if you tell anyone I've just quoted Whitney Houston, I shall deny it for ever more!)