The Catechism of the Catholic Church is book that has all of the Churches teachings about particular subjects and why we believe them, including numerous sources in the Bible.
Would someone be considered a true Catholic if they condemned a women for being pregnant, with another man's baby? Yes...