These verses have a primary interpretation to the nation of Israel. Here God is promising to sustain them, deliver them from captivity and ultimately gather them together in His millennial Kingdom.
You know that God got you because you first, God said...and then God provides.
A powerful word of encouragement that God care for us and God has us in the palm of His mighty hand.