*Minor differences ignored. Grouped by changes, with first version listed as example.
When they went from one nation to another - Wandered about, as if they had no home and no fixed habitation. See Genesis 12:6, Genesis 12:9-10; Genesis 13:1; Genesis 20:1; Genesis 26:1, Genesis 26:17, Genesis 26:22-23.
When they went from one nation to another - From several circumstances in the history of the travels of the ancient Hebrews, we find that the wilderness through which they then passed was well peopled.
When they went from one nation to another,.... From Chaldea to Mesopotamia; from thence to Canaan, and then into Egypt; and after that to Canaan again: which was the tour that Abraham took; and when in Canaan, and travelling from place to place there, might be said to go from nation to nation, since there were seven nations in that country.
From one kingdom to another people; from the kingdom of Palestine or Canaan to Egypt, which was a strange people; and of another language, as appears by the use of an interpreter between them, Genesis 42:23. So Isaac, Jacob, and his posterity, journeyed from one of these kingdoms to the other. Thus the children of God are pilgrims and strangers in this world; they are unsettled in it; they are travelling through it, and a troublesome journey they have of it; they are bound to another country, to which they belong; and their hearts are there beforehand; and they look upon this world as a strange place, and at best but as an inn; where they tarry but for a time, till they get to their own country, the better and heavenly one.
from one nation to another--and so from danger to danger; now in Egypt, now in the wilderness, and lastly in Canaan. Though a few strangers, wandering among various nations, God protected them.
They went - Both in Canaan, where there were seven nations, and in Egypt.
*More commentary available at chapter level.