And we know that in all things God works for the good of those who love him, who have been called according to his purpose.
When we go to God in despair, we are not just looking for a "silver lining". When we know God, and his Holy Spirit lives within us, we have a path back to joy. I believe that this path is God's way of "working for the good". It is, indeed, a path which is available to everyone, but it also must be sought out.
Holy Father, you have a way of showing me the good in life, the good in difficult situations. Sometimes, I know, the pain will overshadow everything for a while. Be with us, Lord, hear our prayers, and bring joy back to those who have lost loved ones and relationships. I ask these things with humility, in Jesus' name. Amen