This is terrible advice.
Investing in companies whose products you enjoy is a very reasonable and successful strategy of investing.
The entire stock market is not a casino where random shit happens. There are conservative investments too.
Are you trying to prevent people from enjoying the fruits of capitalism? I don’t understand why you’d do that.