in the old testament, what is the good things and the bad things about Joshua and David ?

only 1 page brief thoughts about what the is the good things about David and Joshua, and also what is the bad things about them, such as their personality. 

what does the reader like about David and/or Joshua. and what does not like?