Genesis Chapter 41. 

So Joseph's coat was made for him when Joseph was around 17 years old. I tend to believe it was not soon after that that he ended up being sold by his brothers. So for almost 13 years Joseph encountered some difficult situations while in Egypt. When he was 30, king Pharaoh made him second-in-command of all Egypt and he received many blessings. Two of those blessings were two sons and the names he gives them is a representation of the healing he received from God over all the turmoil that he faced. 

Plus it shows how he was able to heal mentally over the hurt from his brothers.

God is in control regardless of how gloomy situations look. God has a plan for deliverance. God can take the hurt that we have mentally and bring healing and forgiveness so that we are able to move on. God is a mighty and Powerful God. I don't ever want to forget that, even though I do.