|David is the youngest child in his family (except according to some interpretations which suggest that he has one younger brother called Eliyahu).
|Moshe is the youngest child in his family.
|David's mother and father have a complicated relationship. (His mother may have been married to Nachash, been widowed, and only later married his father. Per Midrash, his mother tricks his father when his father wants to sleep with a servant girl, and he is conceived through this trickery.)
|Moshe's mother and father have a complicated relationship. Per Midrash, they divorced because of Pharoah's decree and only remarried (and later conceived Moshe) because their daughter told her father that he was being harsher than Pharoah himself had been.
|David is raised in the palace as lyre-player to Saul. (I Samuel 16:22)
|Moses is raised in the palace as the adopted son of Bitya, daughter of Pharoah. (Exodus 2:10)
|David kills Goliath, which frightens and antagonizes Saul, and eventually leads to his needing to run away from Saul.
|Moshe kills the Mitzri (Egyptian), which frightens and antagonizes Pharoah, and eventually leads to Moses' needing to run away from Pharoah.
|The son and daughter of Saul are valuable allies for David. (Both of them save his life.) (I Samuel 19:12)
|The daughter of Pharoah is a valuable ally for Moses. (She saves his life.) (Exodus 2:6)
|David faces Saul again on multiple occasions.
|Moses faces Pharoah again on multiple occasions.
|Saul consistently has changes of heart and claims he is ready to make peace with David, but he never really is (until the end, when the choice is taken from him because David has run away to Gath).
|Pharoah consistently has changes of heart and claims he is ready to send out Moses and his people, but he never really is (until the end, when the choice is taken from him because of Makat Bechorot).
|David works as a shepherd.
|Moshe works as a shepherd.
|David has a difficult time leading his men (they continually want to kill Saul and he has to stop them; they don't want to share the booty equally and he has to intervene).
|Moshe has a difficult time leading his people (they complain throughout their journey in the wilderness).
|David sends out two spies to see if Saul has truly come. (I Samuel 26: 4)
|Moses sends out 12 spies to spy out the land of Canaan. (Numbers 13:16)
|David's people want to stone him. (I Samuel 30:6)
|Moses' people want to stone him. (Exodus 17:4, possibly Numbers 14:10)
|David cannot enter his Promised Land (he cannot build the Beit HaMikdash, even though he has stockpiled all the supplies for it). (I Chronicles 28:3) However, his successor, Shlomo, can.
|Moses cannot enter the Promised Land. However, his successor, Yehoshua, can. (Numbers 20:12)