When I have brought them back from the nations and have gathered them from the countries of their enemies, I will be proved holy through them in the sight of many nations. Then they will know that I am the LORD their God, for though I sent them into exile among the nations, I will gather them to their own land, not leaving any behind. Ezekiel 39:27-28
Israel had chosen, for a time, to sin against God by rejecting Him and following idols and other nations. Because of their sin, God sent them into exile to punish them. While in exile the Israelites would realize their great sin and turn back to God. He would bring them back to their homeland in Israel. At that point, they and all the nations, would realize that God is God. The nations of the world would see that God is holy and just.
It is common for people to think of the judgments of God to be harsh and cruel. They do not see the judgments, while living on this earth, are methods to get a person to look towards Him and turn from his sinful ways. Until the final judgment at the end of time, God is not judging with the intent of total destruction, but is judging to get a person to turn towards Him.
People who choose to walk away from Him may go through a time of punishment. God may exile them into a difficult situation to get them to turn their eyes back on Him. The exile today is not always being sent to another nation, but one that still displaces them from the familiar or comfortable.
If you are going through a time of feeling exiled from God, take a look at your life. Are you following God or are you following your own ways? If you are serving God with all of your heart, then it is probably an attack from the enemy.
If you are not serving God, it may be God trying to get your attention back on Him. God may be trying to restore you to where you should be. Allow Him to move you and know that He is God and He is holy and just in all that He does.
I pray today that you will know that God is God; that you will know the holiness of God; that you will serve God with all of your heart; and that you will know that God will not leave you behind as you serve Him.