9 And next to him among the three mighty men was Elea'zar the son of Dodo, son of Aho'hi. He was with David when they defied the Philistines who were gathered there for battle, and the men of Israel withdrew. 10 He rose and struck down the Philistines until his hand was weary, and his hand cleaved to the sword; and the Lord wrought a great victory that day; and the men returned after him only to strip the slain. 11 And next to him was Shammah, the son of Agee the Har'arite. The Philistines gathered together at Lehi, where there was a plot of ground full of lentils; and the men fled from the Philistines.

Matthew Henry's Commentary on 2 Samuel 23:9-11

Commentary on 2 Samuel 23:8-39

(Read 2 Samuel 23:8-39)

David once earnestly longed for the water at the well of Bethlehem. It seems to be an instance of weakness. He was thirsty; with the water of that well he had often refreshed himself when a youth, and it was without due thought that he desired it. Were his valiant men so forward to expose themselves, upon the least hint of their prince's mind, and so eager to please him, and shall not we long to approve ourselves to our Lord Jesus, by ready compliance with his will, as shown us by his word, Spirit, and providence? But David poured out the water as a drink-offering to the Lord. Thus he would cross his own foolish fancy, and punish himself for indulging it, and show that he had sober thoughts to correct his rash ones, and knew how to deny himself. Did David look upon that water as very precious which was got at the hazard of these men's blood, and shall not we much more value those benefits for purchasing which our blessed Saviour shed his blood? Let all beware of neglecting so great salvation.