This is a false premise. It is possible for some to do evil, some other to do good, and all to be saved. If the the evil-doers come to know God, repent, and are forgiven, they are saved just like those who do good, repent, and are forgiven.
The common thread between them is not the nature of their deeds but the status of their souls. Another way to say it is that the evil-doer and the doer of good both have sin in common.