24 The people said to Joshua, “We will serve Yahweh our God, and we will listen to his voice.”
Joshua 24:24 Cross References - WEB
Exodus 19:8
8 All the people answered together, and said, “All that Yahweh has spoken we will do.” Moses reported the words of the people to Yahweh.
Exodus 24:3
3 Moses came and told the people all Yahweh’s words, and all the ordinances; and all the people answered with one voice, and said, “All the words which Yahweh has spoken will we do.”
Exodus 24:7
7 He took the book of the covenant and read it in the hearing of the people, and they said, “We will do all that Yahweh has said, and be obedient.”
Deuteronomy 5:27-29
27 Go near, and hear all that Yahweh our God shall say, and tell us all that Yahweh our God tells you; and we will hear it, and do it.”
28 Yahweh heard the voice of your words when you spoke to me; and Yahweh said to me, “I have heard the voice of the words of this people which they have spoken to you. They have well said all that they have spoken.
29 Oh that there were such a heart in them that they would fear me and keep all my commandments always, that it might be well with them and with their children forever!