The Gemora (Kesuvos 110b) says that Dovid HaMelech complained to God that “they have driven me out this day that I should not adhere to the inheritance of God, saying: ‘Go, serve other gods’” (I Shmuel 26:19). The Gemora asks, “Who told Dovid: ‘Go, serve other gods’?” The Gemora answers its own question, saying, “This tells you that anyone who resides outside of Eretz Yisroel is considered as though they are performing idol worship.”
