לָכֵ֞ן כֹּה־אָמַ֣ר יְהוָ֗ה אִשְׁתְּךָ֞ בָּעִ֤יר תִּזְנֶה֙ וּבָנֶ֤יךָ וּבְנֹתֶ֙יךָ֙ בַּחֶ֣רֶב יִפֹּ֔לוּ וְאַדְמָתְךָ֖ בַּחֶ֣בֶל תְּחֻלָּ֑ק וְאַתָּ֗ה עַל־אֲדָמָ֤ה טְמֵאָה֙ תָּמ֔וּת וְיִ֨שְׂרָאֵ֔ל גָּלֹ֥ה יִגְלֶ֖ה מֵעַ֥ל אַדְמָתֽוֹ׃ (ס)
Therefore thus saith the LORD: Thy wife shall be a harlot in the city, And thy sons and thy daughters shall fall by the sword, And thy land shall be divided by line; And thou thyself shalt die in an unclean land, And Israel shall surely be led away captive out of his land.’
Mishneh Torah, Kings and Wars
Our Sages have said that the sins of anyone who dwells in Eretz Yisroel are forgiven, as it says, “And the inhabitant shall not say, ‘I am sick’, the people who dwell therein shall be forgiven for their iniquity” (Isaiah 33:24). Even if one were to walk but four cubits in the Land, he merits The World To Come. The sins of anyone buried in the Land are forgiven. It is as if his grave becomes an altar for atonement, as it says, “and makes expiation for the land of His people ” (Deut. 32:43). And when discussing the calamities36The Prophet was severely reproving Amatziah, priest of Beis El. it says, “on defiled ground shall you die” (Amos 7:17). Nevertheless, being “admitted” (into the Land) during one’s life and being “admitted” after death (i.e. buried) are not the same. Even so, the greatest of the Sages would escort their dead to there. Learn from Jacob our father and Joseph the Righteous.