For ever - Thou gavest him a long life and reign here, and after that didst translate him to live with thee for ever. But this was more eminently fulfilled in Christ, who asked of his father, life, or to be saved from death, Heb 5:7, though with submission to his will: but his father, though he saw it necessary to take away his temporal life, yet instantly gave him another, far more noble, even the perfect possession of an everlasting life both in his soul and body, at his right hand.
Thee - Against God, not directly, but by consequence, because it was against David, whom God had anointed, and against the Lord's people, whose injuries God takes as done to himself.