Joshua 22:27

27 but to be a witness between us and you, and between the generations after us, that we do perform the service of the LORD in his presence with our burnt offerings and sacrifices and peace offerings; lest your children say to our children in time to come, "You have no portion in the LORD."'

Joshua 22:27 In-Context

25 For the LORD has made the Jordan a boundary between us and you, you Reubenites and Gadites; you have no portion in the LORD.' So your children might make our children cease to worship the LORD.
26 Therefore we said, 'Let us now build an altar, not for burnt offering, nor for sacrifice,
27 but to be a witness between us and you, and between the generations after us, that we do perform the service of the LORD in his presence with our burnt offerings and sacrifices and peace offerings; lest your children say to our children in time to come, "You have no portion in the LORD."'
28 And we thought, If this should be said to us or to our descendants in time to come, we should say, 'Behold the copy of the altar of the LORD, which our fathers made, not for burnt offerings, nor for sacrifice, but to be a witness between us and you.'
29 Far be it from us that we should rebel against the LORD, and turn away this day from following the LORD by building an altar for burnt offering, cereal offering, or sacrifice, other than the altar of the LORD our God that stands before his tabernacle!"
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.