“as you have done to this day.” At first, this seems to contradict the fact that the Israelites had foreign gods among them (cp. Josh. 24:14, 23). However, it shows that although there was some worship of foreign gods among the people, they had not wholly deserted Yahweh as later generations of Israelites would. Thus, the situation is likely similar to Christians today who love God but also practice astrology, have “lucky” objects, etc.