Someone is calling out to God, crying about how the foreigners have destroyed Jerusalem. DUH! That was God’s punishment on the Israelites for their rebellion.
He pleads with God to give them a break, to turn His rath on the foreigners and, in fairness, stop punishing the children for the sins of their parents. And at the very end of verse 9, he asks God to forgive their sins. Seems like the apology should have come before all the requests for God to get them out of trouble.
So what happens next? The speaker goes on to lay out a plan that he would like God to put into action and he promises to praise God forever and ever. God’s heard that before. But when the heart is sincere, He’ll give 2nd chances without limit.
I don’t know who the speaker is or which time Israel was in trouble. But I do know that whoever, wherever, whenever, God rescued them because they were the people God chose to bring salvation to the entire world.