How many times does this phrase appear in the Chumash, and why?
The past few weeks, the phrase "halachta b'drachav" or "Lalechet B'drachav" or "Lalechet b'chol drachav" meaning "walk in His ways" (or "walk in ways that are proper before Him" according to Onkelos) appears numerous times. Some examples include:
וְהָלַכְתָּ, בִּדְרָכָיו (Devarim, 28:9)
לָלֶכֶת בְּכָל-דְּרָכָיו (Devarim 10:12)
לָלֶכֶת בִּדְרָכָיו, (Devarim 8:6)
I purposefully pulled this quote three times with three different ways of the Torah writing it (all with the same basic translation as perk Onkelos) because that is part of my question (which admittedly has multiple parts). My questions include:
How many times in Chumash does this phrase (the way it's written doesn't matter, just the idea) appear? Why are they written differently, (see the pesukim attached) Are there any sources on why it's written so many times (is there something we can learn from it)?