Then he called for Solomon his son, and charged him to build a house for Yahweh, the God of Israel.
Furthermore, the kingdom of that son would be established after David  (2 Samuel 7:12); but Solomon's kingdom was established during David's lifetime.  "Solomon was made king before David's death (1 Kings 1:32-40;  1 Chronicles 23:1) ... there was a co-regency of four years."[3]