The v. might refer to wanderings on the way from Egypt, but the reference to 'a city of habitation' (Psalms 107:7) points rather to return from Babylon to Jerusalem.

Continues after advertising
Continues after advertising