Bereishit – Why the World Was Created with Justice Then Mercy
Genesis 1:1
Rashi (citing Bereishit Rabbah) explains that God originally intended to create the world with pure justice (Din), but foresaw that the world could not survive on that basis alone, so He combined it with mercy (Rachamim). This is encoded in the dual use of divine names: Elohim (justice) and YHVH (mercy).
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ׃
When God began to create heaven and earth—
Why it matters — This is the foundational biblical and midrashic basis for the entire tension between justice and mercy in creation itself.