Deuteronomy 1:40

But as for you, turn you, and take your journey into the wilderness by the way of the Red sea.

Cross-reference

Deuteronomy 2:1 reports the immediate obedience to this command, as they turned into the wilderness toward the Red Sea.

Numbers 14:25 is the original record of God's command to turn toward the Red Sea, which this verse recounts directly.