James 1:2
Consider it all joy, my brothers, when you encounter various trials, for you know that the testing of your faith produces perseverance. And let perseverance be perfect, so that you may be perfect and complete, lacking in nothing.
This verse can serve as food for thought when encountering suffering and trials. It is often difficult to find joy in challenging situations, but God makes life difficult occasionally so that we will seek Him and grow in faith and virtue. A good analogy is how a shot of medicine can make a person feel better. The shot hurts, but it ultimately heals. In the same way, suffering and grief can eventually produce a type of healing. In difficult times, pray for guidance in finding joy.