When God's priorities become mine, He promises to guide me. It's in the Bible, Proverbs 3:5-6, NIV. "Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge Him, and He will make your paths straight."
If our priorities are right everything will be right. It's in the Bible, Matthew 6:33, NIV. "But seek first His kingdom and His righteousness, and all these things will be given to you as well."