King David in the Bible and the Qur'an