if you can't do the time, don't do the crime

Etymology
From.

Proverb

 * 1) One should not carry out an action if one is unwilling to handle the consequences.