When two ideas that sharply contrast with one another are put side by side in a parallel structure, this is known as: Antithesis
Example of an antithesis sentence:
"Since he stole to feed those who are hungry, he is regarded as the most kind-hearted villain in history."