Comparison happens inevitably. It is very normal.
People compare themselves to their partners for a number of personal reasons, which includes feelings of insecurity and wanting to be on their level.
Your partner is your closest point of reference for comparison. That's why you often end up comparing yourself with your partner.
This comparison can lead to either misunderstanding or self-improvement.
Misunderstanding happens when you compete with someone who is supposed to be your partner in everything. Improvement occurs if you make comparison an instrument in seeing where you both need to develop and help each other.
Understand that comparison is not a bad thing, unless you make it a reason for envy. Your individualities make you unique as a person and there is no such thing as competition in a relationship. In maintaining a strong and healthy relationship, both should accept that you are in different shoes and that is completely normal.