David , King of Israel ( c. 1011 â `` 971 BC ) is a major character in the Bible and the Koran . King David ( c. 1011 â `` 971 BC ) was the second king of the United Kingdom of Israel and a major figure in the Bible and the Qur ` an .