Again the people of Israel did what the Lord said was wrong. So he handed them over to the Philistines for forty years.