If interested, the New testament teaching and warning on homosexuality is clearly stated in the 1st chapter of Romans.
I.e., Read Romans 1, if you're interested in the Word of God vs the word of man.
And Jesus's position on divorce and remarriage are clearly stated in Mark 10 and Matthew 5 and Matthew 19.