People are more likely to lieorcheat if others are lying or cheating, or if a member of another social group (such as a student wearing a sweatshirt from a rival university) visibly flouts the rules.
Hence, one can either accept his lot in life and put out the best possible effort, or he can cheat and lie and enjoy the temporary fruits while trying to avoid the inevitable plummet.