1 Samuel 13:5-14 NIV
The Philistines assembled to fight Israel, with three thousand chariots, six thousand charioteers, and soldiers as numerous as the sand on the seashore. They went up and camped at Mikmash, east of Beth Aven. When the Israelites saw that their situation was critical and that their army was hard pressed, they hid in caves and thickets, among the rocks, and in pits and cisterns. Some Hebrews even crossed the Jordan to the land of Gad and Gilead.
Saul remained at Gilgal, and all the troops with him were quaking with fear. He waited seven days, the time set by Samuel; but Samuel did not come to Gilgal, and Saul’s men began to scatter. So he said, “Bring me the burnt offering and the fellowship offerings.” And Saul offered up the burnt offering. Just as he finished making the offering, Samuel arrived, and Saul went out to greet him.
“What have you done?” asked Samuel.
Saul replied, “When I saw that the men were scattering, and that you did not come at the set time, and that the Philistines were assembling at Mikmash, I thought, ‘Now the Philistines will come down against me at Gilgal, and I have not sought the LORD’s favor.’ So I felt compelled to offer the burnt offering.”
“You have done a foolish thing,” Samuel said. “You have not kept the command the LORD your God gave you; if you had, he would have established your kingdom over Israel for all time. But now your kingdom will not endure; the LORD has sought out a man after his own heart and appointed him ruler of his people, because you have not kept the LORD’s command.”
NIV: New International Version