Evil itself is not necessary. The ideal is that we would all do what is best for everyone else without cheating, stealing, etc and then no government would be needed. But since that is not the case, it becomes necessary to have a government. And as that is not the ideal it is, in a sense, “evil.”