*Minor differences ignored. Grouped by changes, with first version listed as example.
But cleave unto the Lord your God,.... To his word, worship, and ordinances; externally, by close adherence to them, and strict observation of them; and internally, by strong affection to him, hope, trust, and confidence in him, expectation of all good things from him, and constant application to him for help in all times of need, and a fixed dependence on him:
as ye have done unto this day; that is, since they came into the land of Canaan, and had been under the government of Joshua; for otherwise, while in the wilderness, they frequently revolted from God, and murmured against him; and this is to be understood not of individuals, who doubtless were guilty of various failings and sins, but of the whole body, and with respect to any notorious offence, particularly idolatry, which they had not fallen into since they came into the land of Canaan, and had very lately shown great zeal against it; not only the tribes on this side, but those on the other side Jordan, as the preceding chapter largely relates.
Cleave to the Lord - By constant obedience, entire affection, faithful service and worship of him alone. To this day - To wit, since you came in to Canaan; since which time the body of the people (for of them he speaks, not of every particular person) had behaved themselves much better than they did in the wilderness, and had not been guilty of any gross and general apostacy from God, or rebellion against him.
*More commentary available at chapter level.