then the Lord your God will have mercy on you. He will bring you back from the nations where he has scattered you, and he will make you prosperous again.