God said that this could not be done, since the people would leave Joshua and return to him.
According to God, it was impossible for this to happen, because the people would desert Joshua and return to their previous allegiance.