The occasion of this Psalm was David’s deep and long-continued distresses, from which he prays for deliverance.
David complaineth to God of his delay to help, Psa_13:1, and the enemies’ triumph, Psa_13:2. He, praying for preventing grace, Psa_13:3,4 professeth his trust in God, Psa_13:5, and boasteth of Divine mercy, Psa_13:6.
How long wilt thou forget, i.e. neglect or disregard, me? for ever I
how long wilt thou withdraw thy favour and assistance?