deterrent

(noun)

Meaning

something that discourages an action

Example

"The strict rules acted as a strong deterrent against misbehavior."

Synonyms

preventivediscouragementobstacle

Antonyms

encouragementincentive