Deuteronomy 4:25 Holman Christian Standard Bible (HCSB)
25 “When you have children and grandchildren and have been in the land a long time, and if you act corruptly, make an idol in the form of anything, and do what is evil in the sight of the Lord your God, provoking Him to anger,
Judges 2:6-13 Holman Christian Standard Bible (HCSB)
6 Joshua sent the people away, and the Israelites went to take possession of the land, each to his own inheritance. 7 The people worshiped the Lord throughout Joshua’s lifetime and during the lifetimes of the elders who outlived[a] Joshua. They had seen all the Lord’s great works He had done for Israel.
8 Joshua son of Nun, the servant of the Lord, died at the age of 110. 9 They buried him in the territory of his inheritance, in Timnath-heres, in the hill country of Ephraim, north of Mount Gaash. 10 That whole generation was also gathered to their ancestors. After them another generation rose up who did not know the Lord or the works He had done for Israel.
11 The Israelites did what was evil in the Lord’s sight. They worshiped the Baals 12 and abandoned the Lord, the God of their fathers, who had brought them out of Egypt. They went after other gods from the surrounding peoples and bowed down to them. They infuriated the Lord, 13 for they abandoned Him and worshiped Baal and the Ashtoreths.