Arcana Coelestia # 672
672. 'Male' means truth and 'female' good. This has been stated and shown already. In every smallest part of man a kind of marriage exists. Whatever forms part of the understanding is coupled, as in a marriage, to some part of his will. Without such a coupling or marriage, nothing in the slightest is brought forth.
1 Chronicles 29:17-18
17
I know also, my God, that you try the heart, and have pleasure in uprightness. As for me, in the uprightness of my heart I have willingly offered all these things. Now have I seen with joy your people, that are present here, offer willingly to you.
18
Yahweh, the God of Abraham, of Isaac, and of Israel, our fathers, keep this forever in the imagination of the thoughts of the heart of your people, and prepare their heart for you;