“All this has happened to us, even though we have not rejected you or violated your covenant with us. We have not been unfaithful, nor have we disobeyed your commands.”
At some point, the nation of Judah is afflicted, but not for lack of faithfulness. The center of the psalm laments the nation’s suffering, vv. 9-16, and ends with an appeal for help, vv. 23-26.
“We should learn to make trouble and perplexity drive us to our God not away from him”. —J.A. Motyer, “Psalms” NBC21, 514.