Yes, if both have that same goals life will much easier, though there's no guarantee that even you both have same sentiments then you may able to have a easy to go successful life, it's still depends on how you'll manage your finances together and what are the opportunities that may show up, but similar to what you said, if you have that same goals and same sentiments then you'll find peace and avoid any marital problem in the long run.
In my opinion, openness and trust are two factors that keep relationships healthy. Having the same goals is also important. If you have different goals, it could lead to conflict because of differences in thinking, which could ruin a good relationship.
Many divorces happen because of differences in goals. That's why marriage is something that really needs to be thought through carefully.