Please rectify all of the grammar errors in the sentence
Lastly, a country that does not take care of its elderly sufficiently runs the risk of having it younger population abandoning it and migrating to other countries.
Lastly, a country that does not take care of its elderly sufficiently runs the risk of having its younger population abandon it and migrate to other countries.