What narrative shows an example of direct cause-and-effect

A man decided to stay up all night playing video games instead of going to bed at a reasonable hour. The next day, he was tired and unfocused at work, leading to a decrease in productivity and mistakes in his work. This directly resulted in his boss reprimanding him and giving him a warning about his behavior.