Which nation is devoid of counsel?
Rashi (according to R. Nechemyah in the Sifri) and Targum Yonasan: The enemy nation to which the Torah referred in the previous Pasuk.
Rashi (in Pasuk 42, according to R. Yehudah in the Sifri): It refers to Yisrael. 1
In what way are they devoid of counsel?
Rashi #1 (according to R. Nechemyah): Because if they had been wise, they would have attributed their astounding victory over Yisrael 1 to the Rock of Yisrael.
Rashi #2 (according to R. Yehudah): They (Yisrael) did not keep the Torah - which is their wise counsel, and did not reflect how one of the nations could pursue a thousand ... !' 2