Spouse always. You don’t get to choose your kids or how they turn out or the choices they make. You choose your spouse because they are the counterpoint to your entire self. If you have kids, that’s great. But if you want a relationship to succeed, your spouse should always be your priority.
It’s the same type of conflict as blood family and chosen family. I had no say in who my brother or uncle or cousin are. But I absolutely chose my close friends because of the people they are and how they make my life better and more fulfilled. I’d choose chosen family over people I happen to be related to any day of the week.