The writer of Judges wrote,
“Again the children of Israel did evil in the sight of the LORD, and the LORD delivered them into the hand of the Philistines for forty years” (Judges 13:1).
Sometimes people will speak of the Israelites as such exceptional failures, but tell me of any nation that has not turned to evil repeatedly, and tell me of a church of any kind that has not done the same.
The Israelites were human just as any of us, and the Lord used them as examples of how He deals with nations and the church.
Let us learn then from Israel to remain true to the Lord during times of adversity and times of prosperity.