It's important to know that our sinful actions can have serious consequences. We're warned of this by Paul is 2 Thess. 1:7-10. When we sin, we put ourselves in danger of having to face the wrath and the vengeance of God.
That verse also warns us of the possibility of missing Heaven. We can't let sin stand between us and getting to Heaven. There are so many glorious things waiting for us there one day and we'll be so sad if we miss out on them.
The thought of missing Heaven should be something that stays in our mind and drives the desire to sin out of us.