David captures Jerusalem