Joshua 22:27-33 NIV

27 On the contrary, it is to be a witness between us and you and the generations that follow, that we will worship the Lord at his sanctuary with our burnt offerings, sacrifices and fellowship offerings. Then in the future your descendants will not be able to say to ours, ‘You have no share in the Lord.’

28 “And we said, ‘If they ever say this to us, or to our descendants, we will answer: Look at the replica of the Lord’s altar, which our ancestors built, not for burnt offerings and sacrifices, but as a witness between us and you.’

29 “Far be it from us to rebel against the Lord and turn away from him today by building an altar for burnt offerings, grain offerings and sacrifices, other than the altar of the Lord our God that stands before his tabernacle.”

30 When Phinehas the priest and the leaders of the community—the heads of the clans of the Israelites—heard what Reuben, Gad and Manasseh had to say, they were pleased.

31 And Phinehas son of Eleazar, the priest, said to Reuben, Gad and Manasseh, “Today we know that the Lord is with us, because you have not been unfaithful to the Lord in this matter. Now you have rescued the Israelites from the Lord’s hand.”

32 Then Phinehas son of Eleazar, the priest, and the leaders returned to Canaan from their meeting with the Reubenites and Gadites in Gilead and reported to the Israelites.

33 They were glad to hear the report and praised God. And they talked no more about going to war against them to devastate the country where the Reubenites and the Gadites lived.