Defensive pessimism is a strategy used by people who are anxious about an upcoming event. They set unrealistically low expectations before going into a situation and take steps to avoid poor performance. Defensive pessimism involves over-preparation.
For example, someone preparing for a job interview might convince themselves that the interview is going to be a disaster. The anxiety of this likelihood helps to prepare them for the job interview. The result is that they do exceptionally well.