Ben Sira 7:8

8 Don't commit the same sin twice. The punishment you get the first time ought to be enough.

Ben Sira 7:8 In-Context

6 Don't set your heart on being a judge, unless you have the strength of character it takes to put an end to injustice. If you let yourself be influenced by someone in a position of power, your integrity will be damaged.
7 Don't commit any crime against the general public, and don't disgrace yourself among your townspeople.
8 Don't commit the same sin twice. The punishment you get the first time ought to be enough.
9 Don't think that God Most High is going to take into account how very generous you are and so accept any offering you decide to make.
10 Never get tired of praying, and never miss a chance to give to the poor.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.