The Catholic view of Marry makes it hard to explain Jesus’ brothers and sisters though.
The Church purports that Mary remained blessed, not that she remained a Virgin.
The “Catholic” view offers two alternatives: 1) that brothers and sisters referred to his extended family, or cousins’ 2) that James et al. were the children of Joseph by a previous marriage. But there is also the cofusing way the gospels were written. Just try to sort out who the several Marys were. The Scriptures are always alluding to people well-know to the audience but totally unknown to us. In other words, their identity is unknowable to us.
Jewish tradition didn't officially reject multiple wives until several hundred years ago (I think)