Don’t let this scare you, you obviously did not mean to do anything wrong, and Jesus, more than anyone else, understands that.
this is how you learn, although we should try our best to learn before making a mistake, but these things happen.
to make a vow to never commit a particular sin, especially one you struggle with alot, is not a wise thing to do, especially when you make such a vow thinking you can do it on your own, when in truth you can do nothing on your own, you need God’s help in all things if you wish to overcome anything.
to promise God you will not commit a certain sin is like putting your trust in yourself and asking God to trust you rather then asking God for the help and putting your trust in Him,
taking a vow to not commit a sin is very different from taking other vows such as the ones religious orders do, of poverty, chastity, and obedience,
in those cases, they are not promising God that they will keep from certain sins(although it goes without saying that they must avoid certain sins to keep such vows) instead with those vows of poverty, chastity, and obedience, they are rejecting themselves, and giving their whole self to God, it is not just about what they are giving up, it is about what they are giving to God,
and vows should never be made lightly or suddenly, they should be given careful thought before hand, we should be sure we can keep a vow before making it,
if you want help in stopping this sin you have been struggling with, just do what you have been told, pray every day often, go to confession every one or two weeks even just to confess the temptation to sins of impurity, go to communion and ask then especially for the graces to overcome this sin.
ask Our Blessed Mother in particular for help, say 3 Hail Mary’s in the morning and at night for the intentions of purity and holiness(a practice of Saint Maria Goretti) pray the rosary every day,
and then take special care in avoiding the places, people, and things that lead you into temptation, as soon as you feel a temptation coming on, leave that place immediately, and pray something such as the Hail Mary until the temptation goes away.
another great means in gaining strength over ourselves and growing in holiness, is to daily read the lives of the saints, along with other good spiritual reading(such as the books from
www.tanbooks.com )
and i know it’s not always easy, but don’t be so sad, Jesus wants you to trust in Him and be joyful, just seek His help in all things,
and don’t worry because He’s not mad at you, as i said, He knows more than anyone that you did not mean to do anything wrong, but sometimes this is how we learn, so just pick yourself up, and keep going.
ok? hope this helps, take care.