To this dire course of action he was misled by astrologic and other signs, which he interpreted as prophecies of his own kingship, when in reality they pointed to the royal destiny of his granddaughter Bath-sheba. Possessed by his erroneous belief, he cunningly urged Absalom to commit an unheard-of crime. Thus Absalom would profit nothing by his rebellion, for, though he accomplished his father's ruin, he would yet be held to account and condemned to death for his violation of family purity, and the way to the throne would be clear for Ahithophel, the great sage in Israel.
Ahithophel and the King
Legends of the Jews 4:33