There are limits though for reaching unity. At what cost are you willing to compromise what the Bible says with what they believe?
2 Corinthians 6:14-7:1
14 Do not be yoked together with unbelievers. For what do righteousness and wickedness have in common? Or what fellowship can light have with darkness? 15 What harmony is there between Christ and Belial? Or what does a believer have in common with an unbeliever? 16 What agreement is there between the temple of God and idols? For we are the temple of the living God. As God has said:
“I will live with them
and walk among them,
and I will be their God,
and they will be my people.”
17 Therefore,
“Come out from them
and be separate,
says the Lord.
Touch no unclean thing,
and I will receive you.”
18 And,
“I will be a Father to you,
and you will be my sons and daughters,
says the Lord Almighty.”
7 Therefore, since we have these promises, dear friends, let us purify ourselves from everything that contaminates body and spirit, perfecting holiness out of reverence for God.
This is saying that if their doctrine doesn't line up with what the Bible says, you are to separate from them. It is actually
a good thing that you don't unite with them in their false doctrine. Just know that your sticking to God and His word is the most important thing - not unity with people who believe in false doctrine.