David was a prophet and king of the Children of Israel. God guided him as one of Noah's descendants, along with Solomon, Job, Joseph, Moses and Aaron (6:84). He lived in the generation after Moses, when Israel fought under King Saul (2:246-247). God gave him kingship, wisdom and the Psalms (2:251, 4:163). The Quran calls him "our servant David, the resourceful; he was obedient" (38:17). It gives him as an example of strength, gratitude and careful justice.
Goliath and the Road to Kingship
David's story starts in Saul's army. After Moses, the leaders of Israel asked their prophet for a king so they could fight in God's cause. God appointed Saul, and when fighting was decreed, most of them turned away (2:246-247). Saul then tested his troops at a stream. Most of them drank and failed. The few who crossed with him felt too weak to face Goliath and his troops. Those who were conscious of meeting God answered, "Many a small army defeated a large army by GOD's leave. GOD is with those who steadfastly persevere" (2:249). They prayed for steadfastness and won by God's leave, "and David killed Goliath" (2:250-251).
From that victory came David's rise: "GOD gave him kingship and wisdom, and taught him as He willed" (2:251). The same verse adds a lesson: "If it were not for GOD's support of some people against others, there would be chaos on earth." Later God strengthened his kingship and gave him "wisdom and good logic" (38:20). The Arabic behind "good logic," faṣl al‑khiṭāb, means decisive, detailed judgment and argument1.
Mountains, Birds and Iron
God put nature at David's service. The mountains glorified God with him night and day, and the birds were committed to him, all obedient (38:18-19, 21:79). God commanded, "O mountains, submit with him, and you too, O birds," and softened iron for him (34:10). With this gift he was told to make shields that fit perfectly and to work righteousness, because God sees whatever we do (34:11). The Quran presents his skill at making shields as a blessing to people and asks, "Are you then thankful?" (21:80). The same call goes out to his whole house: "O family of David, work (righteousness) to show your appreciation. Only a few of My servants are appreciative" (34:13).
A Judge Who Feared Getting It Wrong
David is remembered most of all as a judge. Two feuding men climbed into his sanctuary and startled him. One said his brother owned ninety-nine sheep and kept pressing to take over his single sheep. David ruled that this was unfair and added that most partners wrong each other, "except those who believe and work righteousness, and these are so few" (38:21-24). The case was as clear as a case can be. Even so, David wondered whether he had judged rightly and thought God was testing him. So he asked forgiveness, bowed down and repented. God forgave him and gave him "a position of honor with us, and a beautiful abode" (38:24-25). The footnote to 38:24 draws the lesson: with 99 on one side and 1 on the other, his extreme care to judge correctly still led him to seek forgiveness. "Are we this careful?"
God then gave him his charge: "O David, we have made you a ruler on earth. Therefore, you shall judge among the people equitably, and do not follow your personal opinion, lest it diverts you from the way of GOD" (38:26). In another case, David and Solomon judged together over a crop that someone's sheep had destroyed. God gave Solomon the correct understanding, "though we endowed both of them with wisdom and knowledge" (21:78-79). Solomon was a gift to David, "a good and obedient servant" (38:30), and became his heir (27:16). Father and son both praised God for blessing them more than many of His believing servants (27:15).
The Psalms and His Warning to Israel
David received a scripture, the Psalms (4:163). God names it as an example of how He preferred some prophets over others, out of His knowledge of everyone (17:55). The Quran confirms one decree from the Psalms: "the earth shall be inherited by My righteous worshipers" (21:105). The Psalms that survive still say this, for example "The just shall possess the land and dwell in it forever" (Psalm 37:29)2. David's original Psalms were written by God through him and authenticated mathematically, and Psalm 91 is confirmed in the Quran3.
David also warned his own people. The disbelievers among the Children of Israel were condemned "by the tongue of David and Jesus, the son of Mary," because they disobeyed and transgressed and did not stop one another from doing evil (5:78-79).
What His Story Teaches
The Quran tells David's story to strengthen believers. Sura 38 opens his story by telling the Prophet to "be patient in the face of their utterances, and remember our servant David" (38:17). From his life it draws several lessons:
- Victory comes by God's leave to the steadfast, not to the many (2:249-251).
- Power and skill are blessings that call for gratitude and righteous work (34:11-13, 21:80).
- A ruler must judge fairly by God's way, not by personal opinion, and be humble enough to fear being wrong even in a clear case (38:24-26).
His example of strength, thankfulness and conscientious justice is the reason he holds "a position of honor" with God (38:25).