#Of what did Joshua say the stone would be a witness?

Joshua said the stone would be a witness against the Israelites because it had heard all the words said by Yahweh and the people of Israel. [24:27]