First off welcome to the boards. It's a tough place to be for sure but there are a ton of great people on here all working on similar things.
Next - these things take a LOT of time so don't worry that your husband called your bluff and said he wants a D (divorce). You have time to show him a new you and someone that he wants to be with.
So...who is it that you want to be?
You mentioned many things you regret doing over the years so you see some things you want to change. Has your H (husband) complained about other specific things you didn't mention? Are they valid and things you'd like to improve on?
Personality is who the world sees, character is who you are