“I am suffering and in pain. Rescue me, O God, by your saving power. Then I will praise God’s name with singing, and I will honor him with thanksgiving.” (Psalm 69:29–30, NLT)
Praying in times of pain is as important as praising God in times of deliverance.
Khabbaz, Joseph, "Rescue Me, Oh God!" (2022). The Main Thing Devotional. 85.