In Genesis, God creates man in his own image, male and female, and blesses them: “Increase and multiply.” The blessing is given at creation, before the fall. The Church cites it for the institution of marriage, as Casti Connubii does. It bears on the teaching that marriage is ordered to children as a gift of God from the beginning.
And God created man to his own image: to the image of God he created him: male and female he created them. And God blessed them, saying: Increase and multiply, and fill the earth, and subdue it, and rule over the fishes of the sea, and the fowls of the air, and all living creatures that move upon the earth.
The account of Onan in Genesis tells that he spilled his seed upon the ground lest children be born in his brother’s name, and that the Lord slew him for a detestable thing. The tradition reads it as bearing on the generative act turned from its end, as Casti Connubii does. It bears on the teaching that the act is not to be frustrated of the begetting of children.
Juda, therefore, said to Onan his son: Go in to thy brother's wife and marry her, that thou mayst raise seed to thy brother. He knowing that the children should not be his, when he went in to his brother's wife, he spilled his seed upon the ground, lest children should be born in his brother's name. And therefore the Lord slew him, because he did a detestable thing:
