When David was on his deathbed, the question of succession arose. David had earlier proclaimed Solomon his heir.
Adonijah had other ideas. He set up a coronation party. He invited many dignitaries. Crucially he did not invite the prophet Nathan.
Nathan got a wind of it and hurried to David to halt the plot. David reaffirmed his royal decree and Solomon was crowned for all to see.
Adonijah erred by not consulting the prophet. For the Word comes to the prophet. Bypassing the Word, he thought by the sword to overcome the royal son of David.
He failed. Same Word tells us that all who resist the coronation of Christ the Royal Son of David will fail. They make the same mistake and perish for failing to consult the Word-prophet.