David had been wronged and was set on taking matters into his own hand. As things played out, David relented on taking revenge and subsequently came to see how God had kept him from sinning by taking revenge. The offense David suffered, however, was accounted for by God, as God avenged the wrong suffered. God is not only gracious and merciful, but He is also righteous and just. God is the ONE and ONLY Avenger!