We have a teacher like that, but he made an exception for instrumentals. Some soundtracks are actually very good.
In particular, stay away from songs with lyrics full of negativity, and if you want to improve your hearing/ pitch, stay away from distortion and very loud music. That's it. Not all pop or rock or jazz is bad.
On the other hand, I had a teacher who disliked classical because it lacked feeling. In his own words, many classical players (not necessarily the music itself) "lacked intensity". I think it's because pop musicians either make their own songs, or make the existing songs their own. Whereas for classical, we follow the notes and may differ only up to a certain point. We do not own these pieces.
I got tired of figuring out which teacher to listen to. I just listen to whatever I like to, and whichever it is, appreciate what it has to offer.