1 Chronicles 20:1. Joab besieged Rabbah. This is related more at large in 2 Samuel 12. David humanely left Shobi on the throne, after putting the rebel chiefs to death.
1 Chronicles 20:7. When he defied Israel, as unable to find a man to fight him in single combat.