Deter
/dɪˈtɜːr/ verb mediumTo discourage someone from doing something, usually by making it seem risky or unpleasant.
A strict penalty for plagiarism is meant to deter students from copying others' work.
Memory Trick
"Deter" sounds like "the terror": fear of a bad outcome deters the action.