Most branches of Christianity (definitely Catholicism) have their own doctrines separate from the Bible that describe why certain things are right or wrong, based on interpretation of the New Testament using some combination Old Testament scholarship and Classical philosophy.