When was the book of Joshua written?
The book of Joshua was either an older document or compiled from an older document written prior to 1075 BC which got continually revised and additional information added based on events with last noticeable revision after 850 BC. Hence, we can confidently place the book of Joshua prior to the book of Judges in 1075 BC and last revision after 850 BC.