Mostly true if you trade short-term individual stocks. If you invest long term in indexes, it's still risky but much less than casino-style risky and losing all of it, short of total economy collapse in which case it wouldn't matter where you invested, pretty much never happens.
invest only what you are not afraid to lose