Berean Study Bible (BSB) - 2 Samuel 17:23 >

When Ahithophel saw that his advice had not been followed, he saddled his donkey and set out for his house in his hometown. He put his affairs in order and hanged himself. So he died and was buried in his father’s tomb.

Jewish Publication Society of America Version (JPS1917) - 2 Samuel 17:23 >

And when Ahithophel saw that his counsel was not followed, he saddled his ass, and arose, and got him home, unto his city, and set his house in order, and strangled himself; and he died, and was buried in the sepulchre of his father.