God is Here
וַיִּיקַ֣ץ יַעֲקֹב֮ מִשְּׁנָתוֹ֒ וַיֹּ֕אמֶר אָכֵן֙ יֵ֣שׁ ה' בַּמָּק֖וֹם הַזֶּ֑ה וְאָנֹכִ֖י לֹ֥א יָדָֽעְתִּי׃
Jacob awoke from his sleep and said, “Surely the LORD is present in this place, and I did not know it!”
ואנכי לא ידעתי. שֶׁאִם יָדַעְתִּי, לֹא יָשַׁנְתִּי בְּמָקוֹם קָדוֹשׁ כָּזֶה:

ואנכי לא ידעתי AND I KNEW IT NOT — for had I known it I would not have slept in such a holy place as this.

ואנכי לא ידעתי, כי אלו ידעתי הייתי נזהר בעצמי יותר ולא הייתי שוכב במקום הזה, ואפשר כי זאת היתה תחלת נבואתו, ולזה עוד הכיר מעלת המקום כי שם נגלה אליו תחלה האל.
ואנכי לא ידעתי, if I had known that this was a holy site I would not have chosen this site to sleep on. It is possible that this dream represented the beginning of Yaakov’s prophetic visions. This is why he had not been aware of the sanctity of the site until after his dream, seeing that this was the first time G’d had revealed Himself to him in any manner.
ואומרו יש ה' פי' שם הוא מקום שבו ה' מצוי תמיד יותר מכל המקומות, ואשר לזה רצה ה' לדבר אתו שם מדי עוברו שמה, ואמר ואנכי לא ידעתי קודם טעם הדבר כי אם היה יודע היה מכין עצמו לנבואה כי הנבואה צריכה הכנה כידוע. ואפשר אם היה מכין עצמו היה מתנבא בהקיץ ולא בחלום ידבר בו, ולזה מתאונן על מה שלא השכיל על דבר. ורש"י ז"ל פי' ואם ידעתי לא ישנתי במקום קדוש ע"כ. ואם לזה לבד נתכוין נאמר אליו ואם לא ישנת לא היית חולם חלום נבואיי בכל ההבטחות, ובהכרח להשלים הכוונה במה שפירשתי:
When Jacob said: יש השם במקום הזה, that G'd is in this place, he meant that G'd is present at this site all the time, in contrast to other sites. This is why G'd wanted him to spend the night there in order to communicate with him there. Jacob apologised for not having prepared himself for a divine revelation; had he been aware of the significance of that site he would surely have done so. Prophecy requires the recipient to first prepare himself mentally. Perhaps if Jacob had prepared himself to become the recipient of a message from G'd he might have prophesied while awake instead of while dreaming. This may have been what he bemoaned in this verse. Rashi explains simply that Jacob meant that if he had known the holy nature of that site he would not have allowed himself to go to sleep there. If that were the only meaning of Jacob's words we could say to him (Rashi) that Jacob then would not have experienced all the promises G'd made to him during his dream. We therefore need to include what I have just written in order to explain the verse satisfactorily.