(ז) יוֹצֵ֥ר אוֹר֙ וּבוֹרֵ֣א חֹ֔שֶׁךְ עֹשֶׂ֥ה שָׁל֖וֹם וּב֣וֹרֵא רָ֑ע אֲנִ֥י יְהוָ֖ה עֹשֶׂ֥ה כָל־אֵֽלֶּה׃ (ס)
(7) I form light and create darkness, I make weal and create woe— I the LORD do all these things.
כדכתיב קאמרינן

The sages teach: "We say the blessing as the verse is written in the Bible and do not alter the formula that appears in the verse. But if so, what about the continuation of the verse: “Who makes peace and creates evil”? Do we say this blessing as it is written in the Bible?

Rather, it is written evil and we euphemistically recite the blessing all things to avoid mention of evil. Here, too, let us euphemistically say brightness (nogah) instead of darkness (hosech).

Rather, Rava said: The reason we recite: “Who creates darkness” is in order to mention the attribute of day at night and the attribute of night during the day, and thereby unify day and night as different parts of a single entity.

[ח] שמא תאמרו "הרי מאכל, הרי משתה; אם אין שלום, אין כלום!"תלמוד לומר "ונתתי שלום בארץ"-- מגיד שהשלום שקול כנגד הכל. וכן הוא אומר (ישעיהו מה, ז עיין שם) 'עושה שלום ובורא את הכל'-- מגיד שהשלום שקול כנגד הכל.

8) Lest you say "There is food and there is drink, but without peace there is nothing!"

Therefore, the Torah teaches (Lev. 26:6) "And I will make peace in the land" — thus it is said that peace is equal to everything. As it is written: "I form light and create darkness, make pace and create 'all.'

(ו) וְנָתַתִּ֤י שָׁלוֹם֙ בָּאָ֔רֶץ וּשְׁכַבְתֶּ֖ם וְאֵ֣ין מַחֲרִ֑יד וְהִשְׁבַּתִּ֞י חַיָּ֤ה רָעָה֙ מִן־הָאָ֔רֶץ וְחֶ֖רֶב לֹא־תַעֲבֹ֥ר בְּאַרְצְכֶֽם׃
(6) I will grant peace in the land, and you shall lie down untroubled by anyone; I will give the land respite from vicious beasts, and no sword shall cross your land.
Fundamentally, these blessings are not expressions of thanks. Rather, they are declarations of a faith-based approach that the Creator directs and supervises everything. Consequently, everything that transpires in the world should be tied to the understanding that “it is the Lord that does all these things” (Isaiah 45:7).