This Teaching is primarily from the writings of the great early 18th Century kabbalist - the Ramchal - Rabbi Moshe Chaim Luzzatto. First there are a few short passages from Pirkei Avot (Ethics of the Fathers) that introduce the topic of freewill. The paragraphs in italilcs are mine:
The 18th Century kabbalist Rabbi Moshe Chaim Luzzatto (known as the Ramchal) explains in the following passage, that Adam Kadmon is associated with the four letters of the Name of God YHWH:
I live in a small town called Safed (or Tzfat, Zefat, Tsfat, etc.) in the upper Galilee, the northernmost part of Israel. Around twenty thousand people live in this ancient and historic town. Safed is a quaint and beautiful mountain-town, with winding cobblestone alleys, panoramic views, and a sky that glows with the most incredible hues of blue just after the sun sets.