You are not a failure. You are a failure if you do not get back up. So just get right back up, repent and dust yourself off and keep going forward. :)
God knows your struggles and understands that you are a young man.
Psalms 119
How can a young man cleanse his way?
By taking heed according to Your word.
10 With my whole heart I have sought You;
Oh, let me not wander from Your commandments!
11 Your word I have hidden in my heart,
That I might not sin against You.
12 Blessed are You, O Lord!
Teach me Your statutes.
13 With my lips I have declared
All the judgments of Your mouth.
14 I have rejoiced in the way of Your testimonies,
As much as in all riches.
15 I will meditate on Your precepts,
And contemplate Your ways.
16 I will delight myself in Your statutes;
I will not forget Your word.
Allow God to instruct you through his word...and do not let a few failures hinder you from continuing on with God.
Bless you!