In Sunday’s Lectionary, the Psalm speaks of the kind of dependence on God that only those who have experienced trouble in their lives can really know.
However, I don’t say that trouble is good. Some people come through OK, and some don’t. Far better to make the world a good place.