Can evil be a means to good?

Can you answer this question?