For example (hypothetical), you could be spending few thousand per month to give your family healthcare in the US. This could take the median US dev salary from about $105k down to about $75-85k, or even lower depending on a bunch of factors. Then we would have to compare cost of living in both countries, including if healthcare is covered in an indirect manner in the other country.