1 Samuel 13:11-14

13:11 But Samuel said, “What have you done?” Saul replied, “When I saw that the army had started to abandon me and that you didn’t come at the appointed time and that the Philistines had assembled at Micmash, 13:12 I thought, ‘Now the Philistines will come down on me at Gilgal and I have not sought the Lord’s favor.’ So I felt obligated to offer the burnt offering.”

13:13 Then Samuel said to Saul, “You have made a foolish choice! You have not obeyed the commandment that the Lord your God gave you. Had you done that, the Lord would have established your kingdom over Israel forever! 13:14 But now your kingdom will not continue! The Lord has sought out for himself a man who is loyal to him and the Lord has appointed him to be leader over his people, for you have not obeyed what the Lord commanded you.”