Consider it pure joy, my brothers, whenever you face trials of many kinds, because you know that the testing of your faith develops perseverance. Perseverance must finish its work so that you may be mature and complete, not lacking anything (James 1:2-4).
We also rejoice in our sufferings, because we know that suffering produces perseverance, perseverance [produces] character, and character, hope. And hope does not disappoint us, because God has poured out His love into our hearts by the Holy Spirit, whom He has given us (Romans 5:3-5).
O LORD, ... be not silent. Do not be far from me, O Lord. Awake, and rise to my defense! Contend for me, my God and Lord. (Psalm 35:22-2)
Do everything without complaining or arguing, so that you may become blameless and pure, children of God without fault in a crooked and depraved generation, in which you shine like stars in the universe. (Philippians 2:14-15)
The LORD is close to the brokenhearted and saves those who are crushed in spirit. (Psalm 34:18)