Joshua had waited all this while upon the middle of the hill for Moses's return; and so neither knew what the people had done, nor heard what God had said to Moses.
Related Commentaries of Exodus 32:17
Exodus 32:17
17 And when Joshua heard the noise of the people as they shouted, he said unto Moses, There is a noise of war in the camp.