On the contrary, not a single weakness is reported. The incident of Achan and the defeat which followed (Joshua ch.7) were the fault of an individual, not of Joshua. Other than that, Joshua fulfilled his role completely.
More information:
Joshua had been Moses' right-hand man since his youth (Numbers 11:28), and his chief disciple; and was constantly found in the tent of Torah where Moses taught (Exodus 33:11), so as not to miss a single word of Moses' teaching. He could be trusted to reach correct decisions (Numbers ch.13-14); and was successful in battle too (Exodus ch.17).
As Moses approached the time when he would have to hand over the helm of leadership, Joshua turned out to be the best choice to carry on, and God named him as Moses' successor (Numbers ch.27).
See also:
What difficulties did Joshua face?
Contents of the Book of Joshua
David from the bible was a king, not a judge.
David was from the tribe of Judah in the Bible.
David died of old age in the Bible.
David's strengths - took leadership, courageous, forgave people, poet, warrior, storyteller, musician, and shepherd David's weaknesses - a beautiful woman named Bathsheba
David was born in the Bible around 1040 BC.
The Bible doesn't say what date David was born.
King David's sin was due to fleshly weakness. (2 Samuel 11:2-24; 12:1-14) Although David sometimes fell short because of fleshly weakness, as a rule he relied on Jehovah's strength, not on his own.
David fasted in the bible , when he committed adultery, and his love child died.
David fled from Saul in the Bible to the wilderness and caves of Judah.
David and Bathsheba
David in the Bible died of old age after ruling as king for many years.
King David died of old age according to the Bible.