Sister Yasmin Mogahed discusses using an Islamic lens. In a sahih hadith the Prophet (saw) said “The matter of a believer is strange, everything is good for him or her”.
This is only for a believer. If a believer gets something they want and they respond with gratitude, then it is good for them. If they get something they don’t want and they respond with patience it is good for them.
The lens that a believer should use to see their life is a good one. Everything is good. It doesn’t mean a believer will never feel pain or never face hardship or struggle. The Prophets were tested the most! Despite the pain and struggle, in the end it is good for you. That is how a believer must view life, the challenges are here to make us stronger.