Answer: Samuel
Because of the misfortunes that occurred around Noah, the faith of the people had been weakened and many surrendered to idolatry. After twenty years, Samuel appears and told them to leave the foreign gods and return to Jehovah.
According to the Bible, the Philistines were oppressing the people, dominating it. But now Samuel offered the Israelites the possibility of returning to Jehovah and getting rid of their idols.