A deterrent is meant to stop someone from doing something.