"But the LORD said to me, 'You have killed many men in the great battles you have fought. And since you have shed so much blood before me, you will not be the one to build a Temple to honor my name.
But you will have a son who will experience peace and rest. I will give him peace with his enemies in all the surrounding lands. His name will be Solomon, and I will give peace and quiet to Israel during his reign.
References for 1 Chronicles 22:9