So can many other things. People who suffer from psychoses will eventually have an episode, but those who use cannabis in moderation tend to suffer less cognitive impairment than the abstinent or the heavy users.
https://www.sciencedirect.com/science/article/pii/S221500131...