That David wanted to build a house for the Lord doesn’t surprise us, because David was a man after God’s own heart and longed to honor the Lord in every possible way.
In the first part of the message, God reminded David that at no time had He ever asked any tribe or tribal leader to build Him a house. God had commanded Moses to make a tabernacle for His dwelling, and He had been satisfied to travel with His pilgrim people and dwell with them wherever they camped.
Now that Israel was in the land and had peace, they needed a caring leader, not a temple, and that’s why God called David to shepherd the people of Israel. God had been with David to protect his life and prosper his service and had made David’s name great. In spite of his desires and his oath, David would not build the temple.
The best thing he could do for the Lord was to continue shepherding the people and setting a godly example.
the Lord promised David something above and beyond anything he could have imagined. David wanted to build God a house (the temple), but God promised to build David a house—a dynasty forever