As a lot of people already mentioned: There is no lesson. They both made their decision. It was her right to ask for a raise. And it was his to fire her. Of course, it does not make any sense. But there is no need to feel sorry for her either. I mean, would you really think it is a wise decision to continue working for someone who treats their employees like this?