It can be impractical to take your parents, your friends, and your extended family along with you to another country. It's certainly far more difficult than getting a job there as a software engineer, particular because of countries preferring to allow highly skilled, educated, and/or paid people in preferentially.