Why is contraception wrong?

Why is contraception contraception wrong? Is there anything in the bible that says that contraception is wrong?

The most explicit Scriptural foundation behind the immorality of contraception comes very early in the Bible, in the book of Genesis. Under levirate law, Onan was obligated to father children for his dead brother: “Then Judah said to Onan, ‘Go in to your brother’s wife, and perform the duty of a brother-in-law to her, and raise up offspring for your brother.’ But Onan knew that the offspring would not be his; so when he went in to his brother’s wife he spilled the semen on the ground, lest he should give offspring to his brother. And what he did was displeasing in the sight of the LORD, and he slew him also” (Gen 38:9-10).

For more on this topic see:
Contraceptive References in the Bible
The Sin of Onan Revisited
Birth Control
Contraception and Sterilization

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.