Devarim29:14

כִּי אֶת־אֲשֶׁר יֶשְׁנוֹ פֹּה עִמָּנוּ עֹמֵד הַיּוֹם לִפְנֵי יְהוָה אֱלֹהֵינוּ וְאֵת אֲשֶׁר אֵינֶנּוּ פֹּה עִמָּנוּ הַיּוֹם׃

but with the one who is here, standing with us today before the Eternal our Almighty, and with the one who is not here with us today.

Devarim 29:14

כִּי אֶת־אֲשֶׁר יֶשְׁנוֹ

Devarim / Deuteronomy 29:14 · Remez

Devarim 29:14

כִּי אֶת־אֲשֶׁר יֶשְׁנוֹ פֹּה עִמָּנוּ עֹמֵד הַיּוֹם לִפְנֵי יְהוָה אֱלֹהֵינוּ וְאֵת אֲשֶׁר אֵינֶנּוּ פֹּה עִמָּנוּ הַיּוֹם׃

but with the one who is here, standing with us today before the Eternal our Almighty, and with the one who is not here with us today.

Remez רֶמֶז

The word that is missing

Sometimes what matters most is what the text does not say. Torah scholars noticed that one word disappears in the second half of the verse.

The Rosh and Kli Yakar notice: of those who are here it says "standing", of those who are not, it does not. So these are the souls of the not yet born. They are not here with us, but they always stand before the Eternal, like angels.

How Rosh and Kli Yakar explain it

Rosh And with the one who is not here

This teaches that even those whose bodies had not yet been created, their souls were there. That is why "standing" is not said of them.

Kli Yakar And not with you alone do I make this covenant

Most commentators found this oath very difficult: it was upon them and upon their descendants, who were not yet in the world, so how would those enter the covenant of the oath? You will find the root of this question in the book "Akedah", and Rabbi Yitzchak Abarbanel and other commentators followed its view. And the view of our sages (Tanchuma, Nitzavim 3): all the souls that were yet to be created were there.

Some derived this from the change of wording in the verse: "with the one who is here, standing with us today before the Eternal our Almighty, and with the one who is not here with us today". It does not say: "and with the one who is not here with us, standing today before the Eternal". So it speaks of souls: although they are not here with us, they still always stand before the Eternal, beneath the Throne of Glory, like the angels who are called "standing ones", as it says: "And I will let you walk among these standing ones" (Zecharyah / Zechariah 3:7).

One can also derive it from the words "with us": it should have said "and with the one who is not here today". From this we derive: it is with us that he is not, but he is with the Eternal and stands before Him. And to the question whether one can make a soul swear, there is an example: the sages said in tractate Niddah (30b) that on the day of birth a person is made to swear: "Be righteous and do not be wicked" and so on.

Takeaway

In the first half of the verse, of those who are here it says "standing" (עֹמֵד), in the second half the word is missing. From this the Rosh and Kli Yakar derive that it speaks of souls.
"Akedah" is "Akedat Yitzchak", a book of Torah interpretations by Rabbi Yitzchak Arama.
"These standing ones" is how the prophet Zechariah (Zecharyah / Zechariah 3:7) calls the angels: they always stand before the Almighty.
The Talmud tells that before birth a child is taught the whole Torah, and at birth is made to swear: "Be righteous and do not be wicked" (Niddah 30b).
Ibn Ezra at the Pshat level argues against exactly this reading, and the midrash at the Drash level continues it.