Agreed. Marry a good person, and you must be a good person, as well.
Talk, compromise, have common goals. When you grow and change, work to grow and change together.
At the end of the day, I think for long-term marriage to work you have to WANT to stay married and do the work to make the marriage work.