History of king david and solomon
King David wished to build the Holy Temple in Jerusalem as a dwelling place for G‑d. However, Nathan the prophet told King David that it was not his destiny to build the Holy Temple (as he had spilled much blood) His son Solomon would build the Temple Nonetheless, King David.