In my opinion competition is good because it makes you know your limits and having an adversary is necessary to improve yourself. In some sense an adversary will help you more than a friend, because only in bad and stressful situations you can achieve your maximum potential.