In 2 Samuel 7, David has a good idea. He wants to build a house for the ark of the covenant where God dwelt. His friend, the prophet of God Nathan, encouraged him and thought it was a good idea as well.
That night, the Lord told Nathan that he needed to share a different plan with David. It was going to be David's son, not David, who built God a dwelling place that was not a tent. Hearing this news the next day could have set David into an angry rant. A frustrated explosion of emotions and the feeling that the planning and energy were wasted. But he responds by going to the Lord in prayer.
So many times we make plans, even good God-centered plans, but that isn't what the Lord has in mind. And instead of turning to others first and arguing with ourselves on what should have happened, we should turn to the Lord of our lives and plans and ask Him what He has. It is a hard path to take, and at times it may not be enjoyable, but if we believe God is who He says, it will always be worth it.
This isn't to say that planning isn't important, as it is. But if the Lord interrupts our plans with His, we need to go directly to Him to hear the amazing things He has in store!