2 Samuel 17:23

Then Ahithophel, seeing that his counsel had not been done, saddled his donkey, and he rose up and went away to his own house and to his own city. And putting his house in order, he killed himself by hanging. And he was buried in the sepulcher of his father

Other versions

King James Version

And when Ahithophel saw that his counsel was not followed, he saddled his ass, and arose, and gat him home to his house, to his city, and put his household in order, and hanged himself, and died, and was buried in the sepulchre of his father.

English Standard Version

When Ahithophel saw that his counsel was not followed, he saddled his donkey and went off home to his own city. He set his house in order and hanged himself, and he died and was buried in the tomb of his father.

New International Version

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 house in order and then hanged himself. So he died and was buried in his father's tomb.