Which figure of speech is used in this text?

Sophia, please stay away from the ocean. You shouldn't go in the water until you know how to swim.

oxymoron

paradox

1 answer

The figure of speech used in this text is a paradox.