King David successes and failures