Joshua 24:27

27 “See!” he said to all the people. “This stone will be a witness against us. It has heard all the words the LORD has said to us. It will be a witness against you if you are untrue to your God.”

Read Joshua 24:27 Using Other Translations

And Joshua said unto all the people, Behold, this stone shall be a witness unto us; for it hath heard all the words of the LORD which he spake unto us: it shall be therefore a witness unto you, lest ye deny your God.
And Joshua said to all the people, "Behold, this stone shall be a witness against us, for it has heard all the words of the LORD that he spoke to us. Therefore it shall be a witness against you, lest you deal falsely with your God."
Joshua said to all the people, “This stone has heard everything the LORD said to us. It will be a witness to testify against you if you go back on your word to God.”