King David wants to build a temple for the Lord, and the Lord says "No!" because David wanted to pretend that he should provide for God, ignoring the fact that God has always provided for him. We need to trust that God provides what we need, and sometimes God's "no" to our prayers is a reminder of this.