In Paul’s second letter to Timothy, near the end of his letter, he gave his friend a warning, “Alexander the coppersmith did me much harm. May the Lord repay him according to his works. You must also beware of him, for he has greatly resisted our words” (2 Timothy 4:14-15).
Such identification or marking of those dangerous to the faith was done on numerous occasions in the first century. Paul also named Demas (2 Timothy 4:10), Hymenaeus and Philetus (2 Timothy 2:15). John marked Diotrephes in his third letter.
Paul not only identified those destructive to the faith, but encouraged other Christians to do the same. “Now I urge you, brethren, note those who cause divisions and offenses, contrary to the doctrine which you learned, and avoid them. 18 For those who are such do not serve our Lord Jesus Christ, but their own belly, and by smooth words and flattering speech deceived the hearts of the simple” (Romans 16:17-18).
The reasons this is needed and expected are obvious from the texts. First, Timothy needed to be aware of and careful about the coppersmith. If he did Paul harm, it stands to reason that Timothy could be harmed as well. Second, those who act in this way are acting contrary to the faith and the Lord. While it is never a pleasant task it is important to protect the righteous against such ungodliness. The worldly might not see it, but it is God’s way.