Judges 2:7

And the people served YHVH all the days of Joshua, and all the days of the elders that outlived Joshua, who had seen all the great works of YHVH, that he did for Israel.