It's bad to cheat on assignments.
Emily is taking a test that she didn't prepare for.
Emily wants to do well.
Emily does her best on the test, and knows to study in the future.
Emily looks at the person next to her and copies their answers.
Emily doesn't do well on this test, but she does well on future exams.
Emily's teacher realizes Emily cheated, and she fails the class.