Which one is worse, lose your job or end up in prison?
Did you not realize that almost all crimes that have ever been committed, very much including by smart accomplished people with a lot to lose, violated and belied this theory of rational behavior?
My standard example is heroin, which is in the most severe rating category of illegal drug. In the UK, the number of users of just that drug on its own is close to triple the entire prison population.