My advise would be to actively try your best with your children.
My mother had an affair which lead to my parents divorce.
My parents separated when I was 10 yrs old. It was a very unusual situation - 4 children, a very nasty divorce, children used as pawns, 2 children court ordered to live with Mother, 2 children court ordered to live with Father.
I was sent to live with my Father. Both parents bad mouthed the other, I was constantly being told different ''versions'' of events. I had contact with my mother and lived with my father.
35 years later, I have a dreadful relationship with both of them. I never forgave my mother for the affair or breaking our family up, let alone siblings being raised separately. My father didn''t want myself and my sibling to reside with him, it was purely to hurt my mother.
All grown up, and I have no time for either of them. I cannot trust either of them, and those trust issues stay with you for the rest of your life. Myself and 3 siblings have managed to rebuild a very strong relationship with each other, but none of us have a relationship with either of our parents.