One thing we stressed to our son is: if you break the rules/laws, you will eventually get caught. So make sure whatever you are doing is worth the consequences.
There’s no need for some magical god to punish people, just the fact that, eventually, someone will figure out what you did (or more likely, they’ll tell on themselves). It’s worked so far…