Hear it Here - bit.ly/3FooG0d
The Stoics called this technique premeditatio malorum.
Modern motivational speakers and self-help gurus warn against entertaining the worst possible outcomes or dwelling on negativity, but for the Stoics, this activity actually had some value.