All it required was for David to give up his plans and accept God’s plans.
It was likely disappointing to David - he wanted to be the one to build the temple. He wanted to honor God with this great monument.
But God wanted David to help his sheep become what God intended for them to become.
We all may have plans for our future that we believe are God-honoring, and they may well be.
But how many times does God want us to do something totally different, or how often do we just find ourselves in a situation or part of life that we never planned on when we were younger?
All these great plans we had, God put aside to bring us to where we are today, because God wanted to use you in a way that never would have happened if we got what we planned.
If we jump into present time, we are the recipients of God’s promise way back then. David’s line would be the line to bring us the Messiah.