Doesn't it lower your immune system?

I have a lot of friends right now that are new to smoking and they recently did quite a bit and most got sick.

Even my friend who got me into weed got sick,


I think it might be pipe-sharing, or homemade shit, but I thought marijuana lowers your immune when you do a ton.