To ever achieve a truly happy, long-lasting relationship you must first be dedicated to your partner and the relationship.
Your commitment will show through in your subconscious actions and thoughts. If you are committed to your relationship, quitting never the answer to the relationship problems that you experience.
Showing your partner commitment lets the partner know you are willing to do anything to make them happy and really want them to be happy. Commitment is the distinguishing trait in a relationship to determine whether it is weak or strong.