On the occasion, compare Sa2 11:12. The Psalm illustrates true repentance, in which are comprised conviction, confession, sorrow, prayer for mercy, and purposes of amendment, and it is accompanied by a lively faith. (Psa. 51:1-19)
A plea for mercy is a confession of guilt.
blot out--as from a register.
transgressions--literally, "rebellions" (Psa 19:13; Psa 32:1).