6 They went to Joshua at the camp at Gilgal, and said to him and to the men of Israel, “We have come from a far country. Now therefore make a covenant with us.”
Joshua 9:6 Cross References - WEB
Deuteronomy 20:11-15
11 It shall be, if it gives you answer of peace and opens to you, then it shall be that all the people who are found therein shall become forced laborers to you, and shall serve you.
12 If it will make no peace with you, but will make war against you, then you shall besiege it.
13 When Yahweh your God delivers it into your hand, you shall strike every male of it with the edge of the sword;
14 but the women, the little ones, the livestock, and all that is in the city, even all its plunder, you shall take for plunder for yourself. You may use the plunder of your enemies, which Yahweh your God has given you.
15 Thus you shall do to all the cities which are very far off from you, which are not of the cities of these nations.
Joshua 5:10
10 The children of Israel encamped in Gilgal. They kept the Passover on the fourteenth day of the month at evening in the plains of Jericho.
Joshua 9:9
9 They said to him, “Your servants have come from a very far country because of the name of Yahweh your God; for we have heard of his fame, all that he did in Egypt,
Joshua 10:43
43 Joshua returned, and all Israel with him, to the camp to Gilgal.
1 Kings 8:41
41 “Moreover concerning the foreigner, who is not of your people Israel, when he comes out of a far country for your name’s sake
2 Kings 20:14
14 Then Isaiah the prophet came to king Hezekiah, and said to him, “What did these men say? From where did they come to you?” Hezekiah said, “They have come from a far country, even from Babylon.”