2 And David sent forth the people, a third part under the hand of Joab, and a third part under the hand of Abishai the son of Zeruiah, Joab's brother, and a third part under the hand of Ittai the Gittite. And the king said unto the people, I will surely go forth with you myself also.

Matthew Henry's Commentary on 2 Samuel 18:2

Commentary on 2 Samuel 18:1-8

(Read 2 Samuel 18:1-8)

How does David render good for evil! Absalom would have only David smitten; David would have only Absalom spared. This seems to be a resemblance of man's wickedness towards God, and God's mercy to man, of which it is hard to say which is most amazing. Now the Israelites see what it is to take counsel against the Lord and his anointed.