Joshua 24:22
And Joshua said unto the people, Ye are witnesses against yourselves that ye have chosen you the Lord, to serve him. And they said, We are witnesses.
Cross-reference
Deuteronomy 26:17
Parallel
Deuteronomy 26:17 records Israel's declaration that the LORD is their God — directly parallel to their witness of choosing Him here.
Exodus 24:3
Parallel
Exodus 24:3 records the people's pledge to obey all the LORD's words — directly parallel to their witness of choosing to serve Him here.
Matthew 23:31
Allusion
In Matthew 23:31, Jesus says the Pharisees witness against themselves — the same phrase used here by Joshua, applying self-condemnation.
Psalm 119:173
Related theme
In Psalm 119:173, the psalmist says he has chosen God's precepts — mirroring Israel's choice of the LORD here.