Stock prices readjust on the ex-dividend date to reflect the pending payment, and there is no guarantee the shares won't slip below the trader's breakeven point, resulting in losses.
WSJ: Running With Scissors: Another Way Dividends Can Boost Your Stock Portfolio