> So, moral of the story is: Reward good behaviour.
I wish. This is an oversimplification.
In many real-world scenarios bad behavior wins unless the rules of the game are changed to encourage cooperation.
E.g. by social norms or legislation or contract