22:1 At that time Joshua summoned the Reubenites and the Gadites and the half-tribe of Manasseh, 2 and said to them, “You have kept all that Moses the servant of the Lord commanded you and have obeyed my voice in all that I have commanded you. 3 You have not forsaken your brothers these many days, down to this day, but have been careful to keep the charge of the Lord your God. 4 And now the Lord your God has given rest to your brothers, as he promised them. Therefore turn and go to your tents in the land where your possession lies, which Moses the servant of the Lord gave you on the other side of the Jordan. 5 Only be very careful to observe the commandment and the law that Moses the servant of the Lord commanded you, to love the Lord your God, and to walk in all his ways and to keep his commandments and to cling to him and to serve him with all your heart and with all your soul.” 6 So Joshua blessed them and sent them away, and they went to their tents.
7 Now to the one half of the tribe of Manasseh Moses had given a possession in Bashan, but to the other half Joshua had given a possession beside their brothers in the land west of the Jordan. And when Joshua sent them away to their homes and blessed them, 8 he said to them, “Go back to your tents with much wealth and with very much livestock, with silver, gold, bronze, and iron, and with much clothing. Divide the spoil of your enemies with your brothers.” 9 So the people of Reuben and the people of Gad and the half-tribe of Manasseh returned home, parting from the people of Israel at Shiloh, which is in the land of Canaan, to go to the land of Gilead, their own land of which they had possessed themselves by command of the Lord through Moses.
10 And when they came to the region of the Jordan that is in the land of Canaan, the people of Reuben and the people of Gad and the half-tribe of Manasseh built there an altar by the Jordan, an altar of imposing size. 11 And the people of Israel heard it said, “Behold, the people of Reuben and the people of Gad and the half-tribe of Manasseh have built the altar at the frontier of the land of Canaan, in the region about the Jordan, on the side that belongs to the people of Israel.” 12 And when the people of Israel heard of it, the whole assembly of the people of Israel gathered at Shiloh to make war against them.
13 Then the people of Israel sent to the people of Reuben and the people of Gad and the half-tribe of Manasseh, in the land of Gilead, Phinehas the son of Eleazar the priest, 14 and with him ten chiefs, one from each of the tribal families of Israel, every one of them the head of a family among the clans of Israel. 15 And they came to the people of Reuben, the people of Gad, and the half-tribe of Manasseh, in the land of Gilead, and they said to them, 16 “Thus says the whole congregation of the Lord, ‘What is this breach of faith that you have committed against the God of Israel in turning away this day from following the Lord by building yourselves an altar this day in rebellion against the Lord? 17 Have we not had enough of the sin at Peor from which even yet we have not cleansed ourselves, and for which there came a plague upon the congregation of the Lord, 18 that you too must turn away this day from following the Lord? And if you too rebel against the Lord today then tomorrow he will be angry with the whole congregation of Israel. 19 But now, if the land of your possession is unclean, pass over into the Lord's land where the Lord's tabernacle stands, and take for yourselves a possession among us. Only do not rebel against the Lord or make us as rebels by building for yourselves an altar other than the altar of the Lord our God. 20 Did not Achan the son of Zerah break faith in the matter of the devoted things, and wrath fell upon all the congregation of Israel? And he did not perish alone for his iniquity.’” (ESV)