Marriage as a Strategy Against the Yeitzer Hara
וְרָאִיתָ בַּשִׁבְיָה אֵשֶׁת יְפַת תֹאַר וגו' וְלָקַחְתָ לְךְ לְאִשָּׁה: (כא,
And you will amongst the captives a good-looking woman...and you will take her for a wife. (21:11)
Marriage as a Strategy Against the Yeitzer Hara:
Chazal say that the Torah is "only speaking in opposition to the yeitzer hara." Sefer Toldos Yaakov Yosef explains this to mean that the best way to fight the yeitzer hara is to “take her for a wife", meaning to get married. Once a person is busy running a household and supporting a family, he won't have time to look for ways to sin or to fritter away his life.
כִּי תִהְיֶיךָ לְאִישׁ שְׁתֵי נָשִׁים הָאַחַת אֲהוּבָה וְהָאַחַת שְׁנוּאָה וגו' וְהָיָה הַבֶּן הַבְּכוֹר לַשְׁנִיאָה (כא, טו)
When a man has two wives – one who is beloved and one who is hated - and the first son is born to the hated one. (21:15)