That is true. The parallel saying in Christianity and Judaism is (Hosea 4:6)
My people are destroyed for lack of knowledge.
Because you have rejected knowledge,
I also will reject you from being My priest.
Since you have forgotten the law of your God,
I also will forget your children.