Absalom wanted to be king. Hushai advised him to attack his father David, but Absalom did not know Hushai and warned David of the attack. Absalom attacked and was defeated and killed.
18 “Come now, let us reason together, says the LORD: though your sins are like scarlet, they shall be as white as snow; though they are red like crimson, they shall become like wool.