Joshua 22:12

Overview - Joshua 22
The two tribes and a half with a blessing are sent home.
10 They build the altar of testimony in their journey.
11 The Israelites are offended thereat.
21 They vindicate their conduct, and give them good satisfaction.
Treasury of Scripture Knowledge

Joshua 22:12  (King James Version)
And when the children of Israel heard of it, the whole congregation of the children of Israel gathered themselves together at Shiloh, to go up to war against them.

the whole
Supposing they had built this altar for sacrifice, in opposition to the command of God, they considered them as rebels against God and the Israelitish constitution.
Deuteronomy 13:15 ; Judges 20:1-11 ; Acts 11:2 Acts 11:3 ; Romans 10:2 ; Galatians 4:17 Galatians 4:18