At times some people feels bad whenever they come across good people going through pains while the ones that do evil things rejoice all the time. But God's judgement covers everyone including the good ones and the evil ones and it continues in the after life. A preacher called John the Baptist was killed and injured because he was spreading the word of God,yet the holy spirit did forsake him. Evil people may find peace for some times but the book of job 20 verses 4 to 5 says that evil ones seems victorious,but it only lasts for a short period.So Any time you see them successful,do not be jealous of them. The son of God jesus taught in the book of Luke 6 verses 20 to 25 that whenever trials and temptation comes, we should not be afraid nor complain but Instead let's be happy because there's a reward in heaven.