Hobab was the son of Reuel, the Midianite. (Reuel was Moses’ father-in-law.) Moses said to Hobab, “We are traveling to the land that God promised to give to us. Come with us and we will be good to you. The Lord has promised good things to the people of Israel.”
So the people of Israel did everything the Lord told Moses. Each group camped under its own flag. And each person stayed with his own family and family group.