Read 2 Samuel 23:9 Using Other Translations
And after him was Eleazar the son of Dodo the Ahohite, one of the three mighty men with David, when they defied the Philistines that were there gathered together to battle, and the men of Israel were gone away:
And next to him among the three mighty men was Eleazar the son of Dodo, son of Ahohi. He was with David when they defied the Philistines who were gathered there for battle, and the men of Israel withdrew.
Next in rank among the Three was Eleazar son of Dodai, a descendant of Ahoah. Once Eleazar and David stood together against the Philistines when the entire Israelite army had fled.