The works of Ādi Śaṅkarācārya

Sanatsujātīyam

p. 252

p. 252

दमोऽष्टादशदोषः स्यात्प्रतिकूलं कृते भवेत् ।

In plain words

Self-restraint is marked out by eighteen faults. Commit them, and what you get is the opposite of restraint.

Close to the Sanskrit

Self-restraint would be [that which is defined by] the eighteen faults; when [any of them] is done, the contrary would come about.