I have 2 friends whose marriage ended in divorce (both within a year of their wedding) because they thought getting married would fix their relationship or change their partner.
Agree with you that if you’ve had constant problems, you will continue to have constant problems.
Don’t know why people think that marriage will solve issues couples may have.