Again I want to say that I probably dont have the right words but I will try.
I do believe you texted because you need to connect with someone and that is very understandable given the way you feel right now, there is nothing wrong with that.
Dont be so hard on yourself and you definetely are worth the effort...
We are here for you, be good to yourself