If a friend is competing with you, he or she'll try to sabotage your success. A visible sign is that they are happy with your failures. They won't celebrate your success and always try to copy you. Also, there'd be interest in your tasks.