The good ended happily, and the bad unhappily. That is what fiction means.
The Importance of Being Earnest act 2 (1895)

The good ended happily, and the bad unhappily. That is what fiction means.