We're probably thinking of different examples, but to me it's not morality- it's more like the exploration of unintended consequences. If you act like X, what unintended consequence Y might come about? I have always felt like hearing the stories of other people, good or bad, makes it easier to think about new-to-me circumstances. To borrow two popular quotes:
- A reader lives a thousand lives before he dies. The man who never reads lives only one
- Experience is the teacher of all things