But while he was living in Jerusalem, David married more wives and fathered more sons and daughters. 