I'd say you are more of a person for admitting a fault and trying to do something to change the fault and better yourself.
Many people do not have the strength to even admit something about themselves, let alone stand up and do something about it.
You are going to bed sober and you are awesome. Sleep well.