Now the Philistines fought against Israel; and the men of Israel fled from before the Philistines, and fell slain on Mount Gilboa. Then the Philistines followed hard after Saul and his sons. And the Philistines killed Jonathan, Abinadab, and Malchishua, Saul’s sons. The battle became fierce against Saul. The archers hit him, and he was severely wounded by the archers. Then Saul said to his armorbearer, “Draw your sword, and thrust me through with it, lest these uncircumcised men come and thrust me through and abuse me.” But his armorbearer would not, for he was greatly afraid. Therefore Saul took a sword and fell on it. And when his armorbearer saw that Saul was dead, he also fell on his sword, and died with him. So Saul, his three sons, his armorbearer, and all his men died together that same day. And when the men of Israel who were on the other side of the valley, and those who were on the other side of the Jordan, saw that the men of Israel had fled and that Saul and his sons were dead, they forsook the cities and fled; and the Philistines came and dwelt in them. So it happened the next day, when the Philistines came to strip the slain, that they found Saul and his three sons fallen on Mount Gilboa. And they cut off his head and stripped off his armor, and sent word throughout the land of the Philistines, to proclaim it in the temple of their idols and among the people. Then they put his armor in the temple of the Ashtoreths, and they fastened his body to the wall of Beth Shan. Now when the inhabitants of Jabesh Gilead heard what the Philistines had done to Saul, all the valiant men arose and traveled all night, and took the body of Saul and the bodies of his sons from the wall of Beth Shan; and they came to Jabesh and burned them there. Then they took their bones and buried them under the tamarisk tree at Jabesh, and fasted seven days.
I Samuel 31:1-13 NKJV
Then Samuel spoke to all the house of Israel, saying, “If you return to the Lord with all your hearts, then put away the foreign gods and the Ashtoreths from among you, and prepare your hearts for the Lord , and serve Him only; and He will deliver you from the hand of the Philistines.” So the children of Israel put away the Baals and the Ashtoreths, and served the Lord only. And Samuel said, “Gather all Israel to Mizpah, and I will pray to the Lord for you.” So they gathered together at Mizpah, drew water, and poured it out before the Lord . And they fasted that day, and said there, “We have sinned against the Lord .” And Samuel judged the children of Israel at Mizpah. Now when the Philistines heard that the children of Israel had gathered together at Mizpah, the Lords of the Philistines went up against Israel. And when the children of Israel heard of it, they were afraid of the Philistines. So the children of Israel said to Samuel, “Do not cease to cry out to the Lord our God for us, that He may save us from the hand of the Philistines.” And Samuel took a suckling lamb and offered it as a whole burnt offering to the Lord . Then Samuel cried out to the Lord for Israel, and the Lord answered him. Now as Samuel was offering up the burnt offering, the Philistines drew near to battle against Israel. But the Lord thundered with a loud thunder upon the Philistines that day, and so confused them that they were overcome before Israel. And the men of Israel went out of Mizpah and pursued the Philistines, and drove them back as far as below Beth Car. Then Samuel took a stone and set it up between Mizpah and Shen, and called its name Ebenezer, saying, “Thus far the Lord has helped us.” So the Philistines were subdued, and they did not come anymore into the territory of Israel. And the hand of the Lord was against the Philistines all the days of Samuel. Then the cities which the Philistines had taken from Israel were restored to Israel, from Ekron to Gath; and Israel recovered its territory from the hands of the Philistines. Also there was peace between Israel and the Amorites. And Samuel judged Israel all the days of his life. He went from year to year on a circuit to Bethel, Gilgal, and Mizpah, and judged Israel in all those places. But he always returned to Ramah, for his home was there. There he judged Israel, and there he built an altar to the Lord . I Samuel 7:3-17 NKJV
Then the children of Israel again did evil in the sight of the Lord , and served the Baals and the Ashtoreths, the gods of Syria, the gods of Sidon, the gods of Moab, the gods of the people of Ammon, and the gods of the Philistines; and they forsook the Lord and did not serve Him. So the anger of the Lord was hot against Israel; and He sold them into the hands of the Philistines and into the hands of the people of Ammon. From that year they harassed and oppressed the children of Israel for eighteen years—all the children of Israel who were on the other side of the Jordan in the land of the Amorites, in Gilead. Moreover the people of Ammon crossed over the Jordan to fight against Judah also, against Benjamin, and against the house of Ephraim, so that Israel was severely distressed. And the children of Israel cried out to the Lord , saying, “We have sinned against You, because we have both forsaken our God and served the Baals!” So the Lord said to the children of Israel, “ Did I not deliver you from the Egyptians and from the Amorites and from the people of Ammon and from the Philistines? Also the Sidonians and Amalekites and Maonites oppressed you; and you cried out to Me, and I delivered you from their hand. Yet you have forsaken Me and served other gods. Therefore I will deliver you no more. “Go and cry out to the gods which you have chosen; let them deliver you in your time of distress.” And the children of Israel said to the Lord , “We have sinned! Do to us whatever seems best to You; only deliver us this day, we pray.” So they put away the foreign gods from among them and served the Lord . And His soul could no longer endure the misery of Israel. Judges 10:6-16 NKJV