Christ does Christians do say canonically that the church is like Christ's wife.
Marriage—Christ and the Church
22 Wives, submit to your own husbands, as to the Lord. 23 For the husband is head of the wife, as also Christ is head of the church; and He is the Savior of the body. 24 Therefore, just as the church is subject to Christ, so let the wives be to their own husbands in everything.
(Ephesians 5:22-24)
And bridal theology goes back to the Old Testament, in Song of Songs.
Anything written by Paul is suspect. Dude just showed up after Jesus died and started writing letters like he was some sort of authority. He's the source of many of the problematic parts of Christianity, like that and original sin.
Some Muslim scholars think he was deliberately trying to weaken Christianity on behalf of Judaism. Thomas Jefferson called him "The First Corruptor of the doctrines of Jesus"
Yeah it's where we get a lot of purity doctrine as well... But when you read it you get the sense that Paul is a sex repulsed asexual. He's like "well if you gotta do it be married... But also like just don't if you can."
Paul just comes across as an opportunistic narcissist riding on Jesus's popularity and codifying things in a way people will do whatever he wants. "Give me (err mean my church) lots of money and listen to me and do what my most loyal friends tell you to and you'll... Go to heaven... Yeah!"
Sorry, that's Paul. Paul was trying to fit the young Christian church into acceptable Roman society. All the crazy shit in the new testament (controlling abusive crazy shit, not psychedelic type crazy shit, that was John the Elder) is from Paul. Paul is a piece of shit.