David character analysis