Numbers 32:23 says, "But if ye will not do so, behold, ye have sinned against the LORD: and be sure your sin will find you out." The context of the story was that some of the other Israelites (Gadites and Reubenites) did not want to already participate because they already had their lots given to them prior to the conquest. They were told that if they do not do so, their sin will find them out. It is not just to them but is a timeless truth that be sure your sin will find you out.
When you do something wrong, there is always an equal and opposite reaction. If you get drunk, you damage your mind and body. If you keep thinking about murdering somebody then sooner or later, that murder may become real or if the murder was never carried out, you cannot think clearly. Sinful thoughts and deeds will always result into something horrible sooner or later. That just reminded me of how many people end up dying as a consequence of their sinful actions like sexually immoral people dying from sexually transmitted diseases or brawlers dying in the very act of violence.
Every sin has its price. Galatians 6:7 says, "Be not deceived; God is not mocked: for whatsoever a man soweth, that shall he also reap." You reap sin, you will reap the results of sin. You reap righteousness, you will reap the results of righteousness.