Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
Penitent Submission.
Moses had, in the foregoing verses , lamented the frailty of human life in general; the children of men are as a sleep and as the grass. But here he teaches the people of Israel to confess before God that righteous sentence of death which they were under in a special manner, and which by their sins they had brought upon themselves. Their share in the common lot of mortality was not enough, but they are, and must live and die, under peculiar tokens of God's displeasure. Here they speak of themselves: We Israelites are consumed and troubled, and our days have passed away.
I. They are here taught to acknowledge the wrath of God to be the cause of all their miseries. We are consumed, we are troubled, and it is by thy anger, by thy wrath ( v. 7 ); our days have passed away in thy wrath, v. 9 . The afflictions of the saints often come purely from God's love, as Job's; but the rebukes of sinners, and of good men for their sins, must be seen coming from the anger of God, who takes notice of, and is much displeased with, the sins of Israel. We are too apt to look upon death as no more than a debt owing to nature; whereas it is not so; if the nature of man had continued in its primitive purity and rectitude, there would have been no such debt owing to it. It is a debt to the justice of God, a debt to the law. Sin entered into the world, and death by sin. Are we consumed by decays of nature, the infirmities of age, or any chronic disease? We must ascribe it to God's anger. Are we troubled by any sudden or surprising stroke? That also is the fruit of God's wrath, which is thus revealed from heaven against the ungodliness and unrighteousness of men.
II. They are taught to confess their sins, which had provoked the wrath of God against them ( v. 8 ): Thou hast set our iniquities before thee, even our secret sins. It was not without cause that God was angry with them. He had said, Provoke me not, and I will do you no hurt; but they had provoked him, and will own that, in passing this severe sentence upon them, he justly punished them, 1. For their open contempts of him and the daring affronts they had given him: Thou hast set our iniquities before thee. God had herein an eye to their unbelief and murmuring, their distrusting his power and their despising the pleasant land: these he set before them when he passed that sentence on them; these kindled the fire of God's wrath against them and kept good things from them. 2. For their more secret departures from him: " Thou hast set our secret sins (those which go no further than the heart, and which are at the bottom of all the overt acts) in the light of thy countenance; that is, thou hast discovered these, and brought these also to the account, and made us to see them, who before overlooked them." Secret sins are known to God and shall be reckoned for. Those who in heart return into Egypt, who set up idols in their heart, shall be dealt with as revolters or idolaters. See the folly of those who go about to cover their sins, for they cannot cover them.