Praising God in pain is an act of defiance against despair. It declares that suffering does not have the final word.