Joshua 10:22

Then said Joshua, Open the mouth of the cave, and bring out those five kings unto me out of the cave.

Cross-reference

Joshua 10:16–18 Historical context

Joshua 10:16-18 recounts the kings hiding in the cave and Joshua blocking it; here he orders it opened to bring them out.

Joshua 10:18 Historical context

Joshua 10:18 records the command to block the cave; now Joshua orders it opened to extract the kings.

In 1 Samuel 15:32, Samuel similarly commands to bring the captured king Agag forward — a parallel to Joshua ordering the kings out of the cave.