18 And are you now turning away from the LORD? “ ‘If you rebel against the LORD today, tomorrow he will be angry with the whole community of Israel.

Read Joshua 22:18 Using Other Translations

But that ye must turn away this day from following the LORD? and it will be, seeing ye rebel to day against the LORD, that to morrow he will be wroth with the whole congregation of Israel.
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.
And yet today you are turning away from following the LORD . If you rebel against the LORD today, he will be angry with all of us tomorrow.