Q: How do you stop anyone from moving to a better company or better-paying role?
A: You don't. Unless there isn't a better company or better-paying role.
If a person is motivated to move out of the country altogether it's got nothing to do with you and there's nothing you can do.