The rhetorical device is used in the given sentence is, chiasmus.
Because A rhetorical device is a strategy used by authors or speakers to persuade readers or listeners to evaluate an issue from a particular perspective. It involves employing language that is intended to stimulate an emotive presentation of a particular perspective or action. Through the use of language, rhetorical devices can elicit an emotional response in the audience, although that is not their main goal.
Chiasmus, also known as chiasm, is the "reversal of grammatical structures in successive phrases or clauses - but no repetition of words" in rhetoric. The chiasmus has an effect. In addition to helping you communicate more with less, it draws attention to notions or ideas that are frequently used but contradict each other. With such a limited language, it serves as a "catchphrase" and catches the substance of a statement.
To know more about chiasmus:
brainly.com/question/2054931
#SPJ4