What was the condition God specified for a continuous reign of David's children's children on the throne of David?