Absalom did this to all the Israelites who came to the king for justice. In this way he stole the hearts of the men of Israel.
Jewish Publication Society of America Version (JPS1917) - 2 Samuel 15:6 >And on this manner did Absalom to all Israel that came to the king for judgment; so Absalom stole the hearts of the men of Israel.