1 Chronicles 22:8-10 New American Standard Bible (NASB)
8 But the word of the Lord came to me, saying, ‘You have shed much blood and have [d]waged great wars; you shall not build a house to My name, because you have shed so much blood on the earth before Me. 9 Behold, a son will be born to you, who shall be a man of rest; and I will give him rest from all his enemies on every side; for his name shall be [e]Solomon, and I will give peace and quiet to Israel in his days. 10 He shall build a house for My name, and he shall be My son and I will be his father; and I will establish the throne of his kingdom over Israel forever.’
2 Corinthians 5:17-19 New American Standard Bible (NASB)
17 Therefore if anyone is in Christ, [h]he is a new creature; the old things passed away; behold, new things have come. 18 Now all these things are from God, who reconciled us to Himself through Christ and gave us the ministry of reconciliation, 19 namely, that God was in Christ reconciling the world to Himself, not counting their trespasses against them, and [i]He has [j]committed to us the word of reconciliation.
-Since King David is a follower of The God of Israel, and genuinely repents for his sins ( e.g., repented for adultery with Bathsheba, murder of Uriah, taking of the census of Israel, etc.) then why does God still remind King David about his past life where he 'shed much blood and have waged great wars...", and furthermore denies King David the request to build the Temple of God, but rather tells King David to instruct his son, Solomon, to build said Temple of God?
-Furthermore in 2 Corinthians 5:17-19, once we are in Jesus Christ( or in King David's case, a follower of The God of Israel), we are a new creature, therefore why again does God still remind King David of his past sins?