Then he called for Solomon his son, and charged him to build a house for Yahweh, the God of Israel.
"Now my son, ... build the house of Jehovah thy God"  (1 Chronicles 22:11). Thus David, in effect, by his previous preparations, and by direct orders to his son and successor, did the very thing God had prohibited him from doing.