Described as David's ‘friend’ (2 Sam. 15: 37), i.e. a court official, Hushai was instrumental in enabling David to defeat the rebellion of his son Absalom. When David fled from Jerusalem into the wilderness, Hushai at personal risk remained in the city, infiltrated the insurgents' camp, ingratiated himself with Absalom, and pretended to advise a strategy to trap David. Absalom's trust in Hushai was misplaced, for his loyalty to David never wavered. Thus the king was saved. Ahitophil's rival plan, though more likely to succeed, was rejected. He soon realized that the rebels' cause was lost; he foresaw his fate at David's hands and chose suicide (2 Sam. 17: 23).