Correct the grammatical mistakes in the sentence
It is where the country's wealth can continue to grow when the economy is stable.
It is when the country's wealth can continue to grow that the economy is stable.