Indeed. This is the origin of the expression "break a leg." At the track, you could never wish someone else good luck because their good luck will cost you money. Instead, you wish their horse breaks a leg so he'll be eliminated, moving the money in his pool to yours if you win.