It's okay to forgive yourself, to be kind to yourself, to love yourself. In doing so, you are being just like God.
"And be kind to one another, tenderhearted, forgiving one another, even as God in Christ forgave you."
Ephesians 4:32 (NKJV)
We are called to be kind and loving, tenderhearted and forgiving, because that is how God is towards us. He looks at us so tenderly and is so gentle and kind with us. He has freely forgiven us all our sins and has such understanding and compassion for us. Together with Christ, we can love and forgive others, and we can even love ourselves, be tender to ourselves, be gentle with ourselves, forgive ourselves. We can say to ourselves, "Hey, it's okay that you just blew it. I love you and I'll stick with you. I understand why you acted that way. I know you have been through a lot and I care about what hurts you. I understand. I just want you to know I'm here for you and accept you as you are. You are safe and you are known and you are loved."
A Thought: I have compassion on myself for all I have been through, and I forgive myself for all I have failed at.