How does he know? Why would he encourage hopelessness and despair? To despair is to turn your back on God.
I think, if you heard the whole message, he’s also saying that we must turn to God because we are at the end of our rope.