A prophecy that is basically a dare to someone to prove it wrong, so that the prophecy's mere existence causes it to fail.

Intentional use of the self-defeating prophecy is more or less the same thing as using reverse psychology. It stems from the human desire to prove something wrong.