You failed and sinned but beloved you could also repent. Never allow your sins and failures to keep you from running into the presence of God. Don't allow any condemnation and feeling of an unworthiness keep you from Jesus. That is what the enemy wants. He wants you to run away from God. He wants you destroyed. We were never worthy of God's presence. Jesus died and the veil was torn so we could run boldly into His presence no matter what state we are in. Keep coming and don't stop. God forgives!
1Jo 1:9 If we confess our sins, he is faithful and just to forgive us [our] sins, and to cleanse us from all unrighteousness.
Heb 4:16 Let us therefore come boldly unto the throne of grace, that we may obtain mercy, and find grace to help in time of need.