In the ancient context, displaying defeated enemies was a common practice to signify victory and deter future rebellion. Joshua's actions were in line with the cultural norms of warfare at the time and were part of fulfilling the divine mandate to conquer Canaan. This event underscores the seriousness of the Israelites' mission to establish a society based on God's laws, free from the influences of the surrounding nations. The hanging of the kings' bodies until evening was also a way to publicly demonstrate the power and justice of God, reinforcing the idea that opposition to God's people would not be tolerated.
While the imagery may seem harsh to modern readers, it is important to understand it within its historical and cultural context. The narrative emphasizes the importance of obedience to God's commands and the consequences of defying them. Joshua's leadership is portrayed as decisive and unwavering, reflecting his commitment to fulfilling God's promises to Israel. This passage invites reflection on the themes of justice, leadership, and the fulfillment of divine promises, encouraging believers to consider the seriousness of their own commitments to God's will.