Here is, 1. David’s sorrow for the wickedness of the wicked. Though he conversed much at home, yet sometimes he looked abroad, and could not but see the wicked walking on every side. He beheld the transgressors, those whose sins were open before all men, and it grieved him to see them dishonour God, serve Satan, debauch the world, and ruin their own souls, to see the transgressors so numerous, so daring, so very impudent, and so industrious to draw unstable souls into their snares. All this cannot but be a grief to those who have any regard to the glory of God and the welfare of mankind. 2. The reason of that sorrow. He was grieved, not because they were vexatious to him, but because they were provoking to God: They kept not thy word. Those that hate sin truly hate it as sin, as a transgression of the law of God and a violation of his word.