Mary,
What a very comforting look into the sovereignty of the LORD, as demonstrated with the life of Joseph.
The scriptures make so much more sense from the perspective that you described.
Also, our daily life experiences, especially the unpleasant ones, can be intermixed with joy, when we realize how much the LORD thinks of us and plans things for us.
Thank you,
Gino