Life in a fallen world requires a response to pain and suffering. Bad news is all around us. Whether it is directly or indirectly perceived, evil cannot be ignored.
The most difficult evil of all is when people who are supposed to love and care for us fail in this responsibility or are cruel or abusive.
In this verse, Joseph reminds us that God is in control even we are victims of those who actively perpetrate evil.
Knowledge that God is in control does not make the evil any more palatable but it does help us grasp that it is not permanent and we will be able to move beyond it. This knowledge provides a context and a means for getting through the difficulty.
I see that God has used the most difficult people and events in my life to teach me dependence upon himself. I have also begun to learn a little of patience when my situation is beyond my ability to control.