Matthew 10:34 says 34 “Do not think that I came to bring peace on earth. I did not come to bring peace but a sword. 35 For I have come to ‘set[j] aman against his father, a daughter against her mother, and a daughter-in-law against her mother-in-law’; 36 and ‘a man’s enemies will be those of his own household.’ 37 He who loves father or mother more than Me is not worthy of Me. And he who loves son or daughter more than Me is not worthy of Me. 38 And he who does not take his cross and follow after Me is not worthy of Me. 39 He who finds his life will lose it, and he who loses his life for My sake will find it.
His point is that our individual relationship with Jesus must be more influential and more important in our life than any other relationship, including those with family, including spouse. This passage does not mention wife or spouse, but it does in Mark 10 where it says… 29 So Jesus answered and said, “Assuredly, I say to you, there is no one who has left house or brothers or sisters or father or mother [c]or wife or children or [d]lands, for My sake and the gospel’s, 30 who shall not receive a hundredfold now in this time—houses and brothers and sisters and mothers and children and lands, with persecutions—and in the age to come, eternal life.