It makes no sense for a person to sin, because if God is so clear, if the Torah is so clear, and if every time you sin you are not further from Hashem, why in the world is it worth it to commit a crime, to sin? Even though a sin might look tempting at the moment, what is going to happen after that small desire is even worse: the consequences and all the punishments that happen afterward. Being further away from God now is not worth the desire of that moment.
I'll give you an example. If right now I come over to you and give you a shiny penny, and tell you, “You can take this shiny penny now—or, let's say, a very shiny quarter, or a very brand-new one-dollar bill that's still crisp street from the bank—but if you wait two days, I'm going to give you a hundred-dollar bill.” A smart person knows to say no to the dollar now and the shiny penny now, in order to receive a much greater value of a hundred dollars in two days. I'm not such a smart person yet, but a smart person will take the shiny penny now and the dollar now, because he can't wait to get a much bigger value of a hundred dollars in two days.
Right now in this world, the Yetzer Hara (evil inclination) always throws different shiny things at us that look tempting and look good. He tells you, “Do this, Avera (sin); don't learn yet; don't keep Shabbat yet; don't daven yet; do this sin, do that sin; don't control your eyes; don't say Birkat Hamazon (Grace after Meals); don't learn, don't learn, don't keep Shabbat.” He tries to attack you and attack you with shiny things. A smart person will say, “Oh, the desire looks good at the moment. I'd rather push that off for now in order to get a much greater value later.” What is that greater value? Being close to Hashem.

