My future growing up in a divorce situation

So I’m not in a divorced situation but my parents are they have been divorced my whole life and it’s just hard cause even after they remarried they fight with those partners and if I divorced I would be the 3 generation to do so and all I want is to not divorce so o don’t put my kids what I went through but how am I supposed to know when someone treats me right when I never had an example of it growing up?