Joshua 22:27
22:27 but as a reminder to us and you, and to our descendants who follow us, that we will honor the Lord in his very presence with burnt offerings, sacrifices, and tokens of peace. Then in the future your descendants will not be able to say to our descendants, ‘You have no right to worship the Lord.’
Joshua 23:16
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.”