Even before being appointed the first Ashkenazi chief rabbi of Palestine in 1919, Abraham Isaac Kook (1865-1935) had become the foremost theorist of religious Zionism. Employing an innovative reading of Jewish mystical texts blended with various ideas from European thought, Kook developed a theological interpretation of history that he employed to show why his era was the appropriate time for a return to Zion. Yehudah Mirsky explains (free registration required):
In the kabbalistic doctrine of the [ten] s’firot [divine emanations], the tenth s’firah is the meeting place of divinity and the world; it is thus at one and the same time the Oral Torah (created by human interpretation [of the written text]), . . . the land of Israel, the [religious community] of Israel, and the immanent divine presence or Sh’khinah. This cluster of related mystical concepts was the lens through which [Kook] viewed nationalism and Zionism, and those developments shaped his new readings of Kabbalah. . . . [J]ust as the tenth s’firah is the repository for the spiritual energies of all the rest, the Jewish people are the repository for the spiritual energies of humanity, the “idealized distillation” of the history, beliefs, and ideals of the nation.
Contemporary nationalism was for Kook the vessel of the internally diverse spiritual life of mankind. “In our time, after the differentiation into nations, nobody can receive his spiritual influences outside of the garment of the specific channel of his nation.” But in keeping with his dialectical perspective, universal love must feature alongside national feeling in a God-saturated world. “Love of all creatures must live in the heart and soul, love for every individual, for all the nations.” Indeed, the existence of nations is only a waystation until the joining of all humanity in a single family.
Read more on Academia.edu: https://www.academia.edu/27965334/Revelation_and_Redemption_Avraham_Yitzhak_Ha-Cohen_Kook_1865-1935_from_Makers_of_Jewish_Modernity_J._Picard_et_al_eds_Princeton_University_Press_2016_pp._92-107