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 22:28

22:28 We said, ‘If in the future they say such a thing to us or to our descendants, we will reply, “See the model of the Lord’s altar that our ancestors made, not for burnt offerings or sacrifices, but as a reminder to us and you.”’

Joshua 23:15-16

23:15 But in the same way every faithful promise the Lord your God made to you has been realized, it is just as certain, if you disobey, that the Lord will bring on you every judgment until he destroys you from this good land which the Lord your God gave you. 23:16 If you violate the covenantal laws of the Lord your God which he commanded you to keep, and follow, worship, and bow down to other gods, the Lord will be very angry with you and you will disappear quickly from the good land which he gave to you.”

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!”