1 King 1:52 Solomon replied, “If he shows himself to be worthy, not a hair of his head will fall to the ground; but if evil is found in him, he will die.”
Adonijah set himself up to be king, thinking he had the birth-right to do so because David was getting old and ready to retire.
David only heard of this through Nathan and Bathsheba! But as soon as he did, he got together the right people and dedicated Solomon as the next and rightful King.
No matter how far you go, how much you get it wrong, when you are faced with the truth like Adonijah was, stop and admit your mistake and ask forgiveness.
God is willing to forgive anything so long as we do come to ask for that forgiveness – just like Adonijah did in front of a very wise King Solomon.