Хасидус к Берешит 7:9

שְׁנַ֨יִם שְׁנַ֜יִם בָּ֧אוּ אֶל־נֹ֛חַ אֶל־הַתֵּבָ֖ה זָכָ֣ר וּנְקֵבָ֑ה כַּֽאֲשֶׁ֛ר צִוָּ֥ה אֱלֹהִ֖ים אֶת־נֹֽחַ׃

два и два вошли к Ною в ковчег, мужской и женский, как повелел Бог Ною.

Keter Shem Tov

"Two of each", man and his wife, they came to the ark (see Genesis 7:9). An interpretation [of the verse is that] there are two interpretations [contained] within each letter [of the Torah]. One [corresponds] to the aspect of the [Divine] Remembering of Mercy. The second [corresponds] to the aspect of [Divine] Judgement. And the righteous transform the Attribute of Judgement to the Attribute of Mercy.