Shaykh Raziuddin Ahmad Fakhri (may Allah have mercy on him) said,
“Similar to the good and bad effects of the company of an individual and the items of his/her personal use, books, magazines and newspapers also have these effects.
One has to be very cautious in deciding which book or newspaper to read. “
Ahl e sulook per achi buri sohbet kay aseraat, page 22
This is also relevant for internet.
Wasting time by visiting unhealthy sites, engaging in useless discussions, chatting, viewing photos or videos and listening to unreliable audio speeches and nasheeds, etc. can be very detrimental spiritually for a seeker.