1 Samuel 13:12-14 NIV

12 I thought, 'Now the Philistines will come down against me at Gilgal,1 and I have not sought the LORD's favor.2' So I felt compelled to offer the burnt offering."

References for 1 Samuel 13:12

13 "You acted foolishly,3" Samuel said. "You have not kept4 the command the LORD your God gave you; if you had, he would have established your kingdom over Israel for all time.5

References for 1 Samuel 13:13

14 But now your kingdom6 will not endure; the LORD has sought out a man after his own heart7 and appointed8 him leader9 of his people, because you have not kept10 the LORD's command."