1 Samuel 13
13 Ref Samuel said to Saul, You have done foolishly; you have not kept the commandment of Yahweh your God, which he commanded you: for now would Yahweh have established your kingdom on Israel forever.
14 Ref But now your kingdom shall not continue: Yahweh has sought him a man after his own heart, and Yahweh has appointed him to be prince over his people, because you have not kept that which Yahweh commanded you.