Nobody was marrying their siblings. In fact, if we are talking about Western society during the Middle Ages, you weren't even allowed to marry your cousin, which is one of the main things that made our society what it is today: https://www.nytimes.com/2020/09/12/books/review/the-weirdest-people-in-the-world-joseph-henrich.html