It is said ” It is Godly to help everyone.” But not Everyone. Note here that NOT EVERYONE. It is good to help but you cannot help all men, as some are positively evil. It is up-to you to find out which people you should help and which people you should not. As by helping an evil soul, you are encouraging evil. Be firm with an evil person. If you are not firm you are encouraging him.
Suppose you pass a hungry man lying on road. If your heart says to give him something as you are absolutely ignorant of that man’s character. But if you knowingly give charity to an evil man or help him it means you yourself are also evil, otherwise you would not give an evil person any kind of help.
But if an evil person want to improve and he has really repented and keenly and genuinely wants to improve. In that case, you must help him bring out of evil influences and progress toa higher level. That is a real good deed. But you should only give him full support if he really repents and genuinely wants to improve.
Help a good man in doing good – go out of your way to help the good. But make sure your deed is selfless. Your action should be purely selfless.