Philippians 4:4,6
Rejoice in the Lord, always and again I say Rejoice. Be careful for nothing, but in every thing by prayer and supplication with thanksgiving let your request be made known unot God.
Twice in this passage the Apostle Paul tells us to rejoice. He urges us not to fret or have any anxiety about anything but to pray and give thanks to God in everything --- not after everything is over. {I know I ain't go get no amen right there}
If you wait until everything is perfect before rejoicing and giving thanks you won't have much fun. Learning to enjoy life even in the midst of trying circumstances is one way to develop spiritual maturity.
Live in the fullness of the joy of the Lord by finding something to be glad about besides your current circumstances. You must learn to derive your happiness and joy from the Lord who lives inside you.
Decide you will not fret or have anxiety about anything but will give thanks and praise to God, rejoicing in Him always.