Maimonides, Mishneh Torah, Hilkhot Deot 4:1

רמב“ם משׁנה תוֹרה הלכוֹת דעוֹת ד:א

When keeping the body in health and vigor, one walks in the way of God.

הוֹאִיל וֶהֶיוֹת הַגוּף בָּרִיא וְשָׁלֵם, מִדַּרְכֵי הַשֵּׁם הוּא