The formula for doing the right thing includes seeking God, avoiding impulse and fleeing from temptation. Pray and prioritize all the things in your life.
Good intentions are good, and have them, please, but learn not to trust them unless they are laced by the power and strengthened by the Holy Spirit of God