(טו) וְנִשְׁמַרְתֶּ֥ם מְאֹ֖ד לְנַפְשֹׁתֵיכֶ֑ם כִּ֣י לֹ֤א רְאִיתֶם֙ כָּל־תְּמוּנָ֔ה בְּי֗וֹם דִּבֶּ֨ר יְהוָ֧ה אֲלֵיכֶ֛ם בְּחֹרֵ֖ב מִתּ֥וֹךְ הָאֵֽשׁ׃
(15) And you shall watch yourselves very well, for you did not see any image on the day that the Lord spoke to you at Horeb from the midst of the fire.
לבוש יורה דעה סימן קט"ז
שיש במשמעות אלו הלשונות שצריך האדם לשמור את נפשו שלא יביא את עצמו לידי סכנה, אף על גב שפשוטן של אלו הכתובים לא מיירי בזה (עוסק בזה), מכל מקום סמכו חז"ל על מקראות הללו ואסרו כל הדברים המביאין את האדם לידי סכנה.
Levush, Yoreh Deah, Siman 116
The implication of these verses is that a person needs to guard himself, that he doesn't bring himself to any type of danger. Even though the simple reading of the text may not mean this, nevertheless our sages used these verses as a support to forbid a person anything that brings him to any danger.
(ה) שמא תאמר הרי מצינו שחייבו חכמים בכל מקום שישמור האדם את עצמו שמירה מעולה ולא ישים עצמו בסכנה אפילו הוא צדיק ובעל מעשים, ואמרו (כתובות ל): הכל בידי שמים חוץ מצינים פחים, ומקרא כתוב (דברים ד): ונשמרתם מאד לנפשותיכם, הרי שאין להחליט הבטחון הזה על כל פנים. והתם אמרו, ואפילו לדבר מצוה.
(5) If you will point to the fact that the Sages in all places have ordered that a man be especially attentive to his well-being and not put himself in danger even if he is righteous and a doer of good deeds, that they have said (Ketubot 30a), "All is in the hands of Heaven except chills and fever," and that the Torah states (Deuteronomy 4:15), "Be very watchful of your selves" - all of which indicates that a person is not to extend trust in God to this area, even (as our Sages state further) when a mitzvah is to be performed.
(ח)... רבי ישמעאל ברבי נחמן, בשם רבי נתן אמר: תשעים ותשעה בשרב ואחד בידי שמים. רבנן אמרין: תשעים ותשעה בפשיעה ואחד בידי שמים:
(8)... Rabbi Samuel Nahman said in the name of Rabbi Natan: ninety-nine die of heat to one by the hand of heaven. The Rabbis said: ninety-nine die through [their own] neglect to one by the hand of heaven.
(א)... וישים לנגד עיניו תכלית אחת והיא: השגת השם יתברך, כפי יכולת האדם לדעתו. ויהיו מעשיו כולם, תנועותיו ומנוחותיו וכל אמרי פיו מביאים אל התכלית הזאת, עד שלא יהיה במעשיו שום מעשה לבטלה, רצוני לומר: מעשה שלא יביא אל התכלית הזאת.
(1)... He must keep his mind's eye fixed constantly upon one goal, namely, the attainment of the knowledge of God (may He be blessed!), as far as it is possible for mortal man to know Him. Consequently, one must so adjust all his actions, his whole conduct, and even his very words, that they lead to this goal, in order that none of his deeds be aimless, and thus retard the attainment of that end.
(ב) כגון זה, שיהא מכוון באכילתו ובשתייתו, ושנתו ויקיצתו, ותנועתו ומנוחתו, לבריאות גופו לבד. והחפץ בבריאות גופו, שתמצא הנפש כליה בריאים, שלמים. והתמסרה לחכמות, וקנות המעלות המידותיות והדבריות, עד שיגיע לאותה התכלית.
...והמכוון בכל זה, שיבריא גופו, ותכלית בריאות גופו: לקנות חכמה. והוא הדין מי שטרח והתעסק בקנות הממון, תהיה תכליתו בקיבוצו שיוציאו למעלות, ושימצאהו לקיום גופו והמשך מציאותו, עד שיציג וידע את השם יתברך, מה שאפשר לדעתו.
(2) So, his only design in eating, drinking, cohabiting, sleeping, waking, moving about, and resting should be the preservation of bodily health, while, in turn, the reason for the latter is that the soul and its agencies may be in sound and perfect condition, so that he may readily acquire wisdom, and gain moral and intellectual virtues, all to the end that man may reach the highest goal of his endeavors.
...The purpose of all this is to restore the healthful condition of the body, but the real object in maintaining the body in good health is to acquire wisdom. Likewise, in the pursuit of wealth, the main design in its acquisition should be to expend it for noble purposes, and to employ it for the maintenance of the body and the preservation of life, so that its owner may obtain a knowledge of God, in so far as that is vouchsafed unto man.
(א) הואיל והיות הגוף בריא ושלם מדרכי השם הוא שהרי אי אפשר שיבין או ידע דבר מידיעת הבורא והוא חולה לפיכך צריך להרחיק אדם עצמו מדברים המאבדין את הגוף ולהנהיג עצמו בדברים המברין והמחלימים ואלו הן:לעולם לא יאכל אדם אלא כשהוא רעב ולא ישתה אלא כשהוא צמא ואל ישהא נקביו אפילו רגע אחד...
(1) Since a healthy and whole body is necessary for the ways of G-D (for it is impossible to imply or know anything of Godly wisdom when one is sick), therefore one must distance himself from things that are damaging to the body and to accustom oneself to things that strengthen and make one healthy. They are as follows: a person should only eat when he is hungry, and drink when he is thirsty, and not delay his orifices even for one second...
(ב) וכן כל הכנה שאדם מכין לדבר מצוה היא גופה חשובה מצוה. הנה כי כן מי שכל מעשיו לשם שמים נמצא שכל ימיו עסוק במצוה. ומה טוב לבטא בשפתיו קדם כל מעשה שיאמר שהוא עושה הכנה למצוה, כגון קדם אכילה שיאמר, הריני בא לאכל ולשתות כדי שיהא גופי בריא וחזק לעבודת השם יתברך...
כי אז אתי מעשה מפיק מידי דבור ויושב בשמים ישחק לו ... וכן כיון שעושה הכל לשם מצוה צריך לזרז ביותר שלא תהא מצוה הבאה בעברה. ויזהר במאכלו ושתיתו ומשאו ומתנו שיהיה כדת וכהלכה ואז יחשב למצוה ה''ן מקד''ם ומאח''ר וקובעין לו שכר...
כן יזהר במאכלו לילך אחר המועיל ולא אחר הערב לחכו ומזיק, כי מלבד כי לא לרצון יהיה ולא למצוה יחשב גם ענוש יענש על עברו על. מה שאמרה תורה (דברים ד טו) ונשמרתם מאד לנפ שותיכם:
As such, a man who performs all of his deeds for the sake of Heaven is constantly involved in doing a mitzvah. How good it is for a person to express with his lips before each action that he is doing it as preparation for a mitzvah! For example, before eating he should say, “Behold I am coming to eat and drink in order that my body should be healthy and strong to do the service of my G-d.”... His words will bear fruit such that spirituality and holiness will infuse these physical matters, and it will be considered a mitzvah for him. ... Since he is doing everything for the sake of a mitzvah, he must be very diligent that it should not be a mitzvah that comes through a sin. Therefore, he must be very careful that his eating, drinking, and business should be in accordance with Jewish law, and then they will be ultimately considered a mitzvah and he will be rewarded for them. ... A person must be careful about his food to prefer that which is beneficial over something that might be more tasty, but harmful. Not only will it not be desirable before G-d and not considered a mitzvah, he even will be punished for violating what the Torah (Devarim, 4:15) said, “… and you shall diligently protect your lives.”
אליה רבה סימן קע אות כג
ועיין בשל"ה דף פ"ד [שער האותיות, קדושה, ד"ה והמשכיל] שהאריך ליזהר מריבוי אכילה ושתייה אלאיאכל וישתה רק להעמיד ולהבריא גופו שיהיה מזומן לעבודת הנפש, ובזה כל סעודותיו הויין סעודת מצוה, וביחוד הלומדים שהם פרושים ביותר. וכתב בספר הגן [ליוםחמישי] דאפילו עושה לשם מצוה כגון שבתות וימים טובים עובר ג' לאוין, השמר לך פן תשכח, בל תשקצו שממלא כריסו כמו בהמה, ואסור לברך ברכת המזון אחריה...
Elyah Rabba 170:23
The Shlah HaKadosh says: One should be careful not to overeat or over-drink rather you should eat and drink only to strengthen and keep your body healthy so that you can do "Avodat HaNefesh" ("The Work of Your Soul". With this, every meal becomes a meal of Mitzvah. Specifically Bnei Torah should be extra careful about this. The Sefer "Hagan" says, that even if you eat for the sake of a Mitzvah like Shabbat and Yom Tov, [if you overeat and over-drink] then you can violate 3 negative prohibitions. "Be careful lest you forget", "Don't act repulsively" (because when you are filling your stomach like an animal) and it's forbidden to bench...
(3) from twenty years old and upward, all that are able to go forth to war in Israel: ye shall number them by their hosts, even thou and Aaron. (4) And with you there shall be a man of every tribe, every one head of his fathers’ house.
סבר לה כי הא דאמר רבה בר בר חנה אמר רבי יוחנן כמה מהלך אדם ביום עשרה פרסאות מעלות השחר ועד הנץ החמה חמשת מילין משקיעת החמה ועד צאת הכוכבים חמשת מילין
Ulla agrees with the following, which Rabbah bar bar Chanah said in the name of R' Yochanan: How far can an average person walk in an average day? Ten parssaos (i.e forty milin). Now if we subtract from this the ground that he covers from the rising of the light of dawn when he sets out to the sunrise which is five milin, and the ground that he covers when he stops for the night which is another five milin...