People whose parents divorced are more likely to divorce, fail, or be insecure and afraid that their spouse will want to divorce.
If you've got a kid and plan on staying together forever, then it's time to go ahead and get married. A kid's parents should be married, and marriage is made for that purpose.