1 Samuel 13:3-14 (NASB):
Jonathan smote the garrison of the Philistines that was in Geba, and the Philistines heard of it. Then Saul blew the trumpet throughout the land, saying, “Let the Hebrews hear.” All Israel heard the news that Saul had smitten the garrison of the Philistines, and also that Israel had become odious to the Philistines. The people were then summoned to Saul at Gilgal.
Now the Philistines assembled to fight with Israel, 30,000 chariots and 6,000 horsemen, and people like the sand which is on the seashore in abundance; and they came up and camped in Michmash, east of Beth-aven. When the men of Israel saw that they were in a strait (for the people were hard-pressed), then the people hid themselves in caves, in thickets, in cliffs, in cellars, and in pits. Also some of the Hebrews crossed the Jordan into the land of Gad and Gilead. But as for Saul, he was still in Gilgal, and all the people followed him trembling.
Now he waited seven days, according to the appointed time set by Samuel, but Samuel did not come to Gilgal; and the people were scattering from him. So Saul said, “Bring to me the burnt offering and the peace offerings.” And he offered the burnt offering. As soon as he finished offering the burnt offering, behold, Samuel came; and Saul went out to meet him and to greet him. But Samuel said, “What have you done?” And Saul said, “Because I saw that the people were scattering from me, and that you did not come within the appointed days, and that the Philistines were assembling at Michmash, therefore I said, ‘Now the Philistines will come down against me at Gilgal, and I have not asked the favor of the Lord.’ So I forced myself and offered the burnt offering.” Samuel said to Saul, “You have acted foolishly; you have not kept the commandment of the Lord your God, which He commanded you, for now the Lord would have established your kingdom over Israel forever. But now your kingdom shall not endure. The Lord has sought out for Himself a man after His own heart, and the Lord has appointed him as ruler over His people, because you have not kept what the Lord commanded you.”