More relevant is Catholic teaching in its Catechism - concerning homosexuality.
This is described as 'intrinsically disordered' and Catholic gays are discriminated against, in a variety of ways.
For instance, they cannot be ordained (as priests; although many are!), or married.
Even divorcees are considered inferior - in that they are banned from taking Holy Communion.
If this contracting religion is to survive - it must quickly recognise that we no longer live in biblical times...