Joshua 10 tells the story of Israel's southern campaign in Canaan, the dominant theme of which is -the LORD fought for Israel-- vv. 1-15 give a summary of the day's events with a focus on the miracle of the sun and moon standing still, whilst vv. 16-43 give an expanded version of the story, filling in more of the details.