If you compare your trading and see your friend's success in trading, you may not be confident and you may stop trading. If both of you are learning about trading, that will help you to understand the lesson better. That is because one of you will try to explain more details and vice versa.
However, if you and your friend compete to achieve your goals, that may work because you want to develop high skills in trading by learn more. Although you learn together with your friend, you will have your own secret to win from him.
We can compare our trading but we need to learn by ourselves. We don't want to rely on others to decide because when we see his strategy, we may want to copy it to see the result. That is okay if your friend explains the details. But if not, you may confuse and lose.