תָּנוּ רַבָּנַן: שְׁתֵּי שָׁנִים וּמֶחֱצָה נֶחְלְקוּ בֵּית שַׁמַּאי וּבֵית הִלֵּל. הַלָּלוּ אוֹמְרִים: נוֹחַ לוֹ לְאָדָם שֶׁלֹּא נִבְרָא יוֹתֵר מִשֶּׁנִּבְרָא, וְהַלָּלוּ אוֹמְרִים: נוֹחַ לוֹ לְאָדָם שֶׁנִּבְרָא יוֹתֵר מִשֶּׁלֹּא נִבְרָא. נִמְנוּ וְגָמְרוּ: נוֹחַ לוֹ לְאָדָם שֶׁלֹּא נִבְרָא יוֹתֵר מִשֶּׁנִּבְרָא, עַכְשָׁיו שֶׁנִּבְרָא — יְפַשְׁפֵּשׁ בְּמַעֲשָׂיו.
The Sages taught the following baraita: For two and a half years, Beit Shammai and Beit Hillel disagreed. These say: It would have been preferable had man not been created than to have been created. And those said: It is preferable for man to have been created than had he not been created. Ultimately, they were counted and concluded: It would have been preferable had man not been created than to have been created. However, now that he has been created, he should examine his actions that he has performed and seek to correct them. Eruvin.13b
This conclusion seems to align with an analysis of the plain text of the Torah:
Humans are born with bad inclination.
If they follow it naturally, they are punished in this world and suffer from illnesses, hunger wars, etc.
If they overcome it, and observe all the Mitzvos, Hashem grants them "normal human lives" - no illnesses, no hunger, and no wars.
So it looks that the Pascal's wager in the plain text of the Torah is negative - like saying "it's 50% chance that you lose and 50% chance that you merely keep your money" - people have more to lose than to earn.
Do our sources see this connection of the Talmudic conclusion to the text of the Torah?