Yes, I believe it says this in Surah Luqman (surah 31) and that in Surah 21 or 22, forget exactly it also talks about not following something simply because you parents do.
I realise it is very bad and I am under no illusions about it. I just hope Inshallah things become clearer for me...