I Samuel 13:7-12 NKJV
And some of the Hebrews crossed over the Jordan to the land of Gad and Gilead.
As for Saul, he was still in Gilgal, and all the people followed him trembling. Then he waited seven days, according to the time set by Samuel. But Samuel did not come to Gilgal; and the people were scattered from him. So Saul said, “Bring a burnt offering and peace offerings here to me.” And he offered the burnt offering. Now it happened, as soon as he had finished presenting the burnt offering, that Samuel came; and Saul went out to meet him, that he might greet him.
And Samuel said, “What have you done?”
Saul said, “When I saw that the people were scattered from me, and that you did not come within the days appointed, and that the Philistines gathered together at Michmash, then I said, ‘The Philistines will now come down on me at Gilgal, and I have not made supplication to the LORD.’ Therefore I felt compelled, and offered a burnt offering.”
NKJV: New King James Version