Joshua 22:19

22:19 But if your own land is impure, cross over to the Lord’s own land, where the Lord himself lives, and settle down among us. But don’t rebel against the Lord or us by building for yourselves an altar aside from the altar of the Lord our God.

Joshua 24:15

24:15 If you have no desire to worship the Lord, choose today whom you will worship, whether it be the gods whom your ancestors worshiped beyond the Euphrates, or the gods of the Amorites in whose land you are living. But I and my family will worship the Lord!”