In statistics, "gambler's ruin" is the fact that a gambler playing a game with negative expected value long enough will eventually go bankrupt.
A gambler, starting with 40 chips, places a one-chip bet at each step, with a winning probability of p=0.4 and a goal of winning 70 units before going broke. The states here are the integers 1 through 71, representing the gambler's wealth plus one: