Which figure of speech is used in this text?
Patience is bitter, but its fruit is sweet!
—Jean-Jacques Rousseau, Julie, or the New Heloise

 - antithesis
 - anaphora
The text uses antithesis, the contrasting of opposing ideas within a parallel grammatical structure.
Rousseau contrasts two parallel clauses, patience is bitter and fruit is sweet.