David was, according to the Bible, the second king of the United Kingdom of Israel and Judah, and according to the New Testament Gospels of Matthew and Luke, an ancestor of Jesus. His life is conventionally dated to c. 1040–970 BC, his reign over Judah c. 1010–1002 BC, and his reign over the United Kingdoms of Israel c. 1002–970 BC
Saul made David a commander over his armies and offered him his daughter Michal in marriage for bringing 100 foreskins of the Philistines but David brought back 200, saying “God was with me”. David was successful in many battles, and his popularity awakened Saul’s fears. Saul tried to arrange for David’s death, but the plots only endeared David further to the people, and especially to Saul’s son Jonathan, who loved David (1 Samuel 18:1, 2 Samuel 1:25–26). Jonathan warned David, who fled into the wilderness, gathered a band of followers and became the champion of the oppressed while evading Saul’s pursuit. He accepted the town of Ziklag from the Philistine king Achish of Gath, but continued secretly to champion the Israelites. Achish marched against Saul, but David was excused from the war after suspicion from Philistine nobles that his loyalty could not be trusted.