Antithesis is a contrast meaning emphasized by a parallel in grammatical structure.

One of the best example in poetry is Alexander Pope’s description of Atticus in his Epistle to Dr Arbuthnot, “Willing to wound, and yet afraid to strike.”

An example in prose is from Samuel Johnson’s Rasselas:

Marriage has many pains, but celibacy has no pleasures.