Who are the women on the arc descendants of?

Sorry if this is a silly question, I’m a Catholic but am only now reading the Bible for the first time. Noah and his sons are descendants of Seth and it seems accepted that Noah’s wife is a descendant of Cain, what about the other wives? If they are all descendants of Cain does that mean all women are descended from Cain?