Every Christian struggles with temptation regularly. Often people make terrible decisions, which can cost them greatly. Sin has terrible consequences that cost far more than the pleasure the sin might bring.
Moses wisely reasoned the cost of sin, "choosing rather to be mistreated with the people of God than to enjoy the fleeting pleasures of sin. He considered the reproach of Christ greater wealth than the treasures of Egypt, for he was looking to the reward." (Hebrews 11:25, 26)
(Galatians 6:7, 8 ESV)
Some people foolishly think they can sin and get away with it. God always catches them, and they always catch themselves. You can't fool God or yourself. A little wisdom today can help us avoid terrible pain tomorrow.