Is it a good idea to marry a US citizen and buy a family home instead of investing in real estate for US permanent residency?

Is it a good idea to marry a US citizen and buy a family home instead of investing in real estate for US permanent residency?
Post Opinion