I think that חז”ל saw the questions. One of the things I find interesting about studying Biblical critics nine times out of ten, or even ninety-nine times out of a hundred, the questions that Biblical critics are asking are typically anticipated by מדרשים.
חז”ל’s answers are very different from the answers that modern Biblical scholars give, but the fact that Jews have been aware of these questions for two thousand years is something that I find very comforting, that, somehow, they were able to go on.
Rabbi Jeff Fox, “Joshua’s Farewell Speech“, YCT Yom Iyun (New York City: 13 January 2014).