Once again I was over on the Desiring God website and really enjoyed the Piper quote that they posted. So just incase you missed it… here it is…
“God is glorified most not merely by being known, nor by merely being dutifully obeyed, but by being enjoyed in the knowing and the obeying.”
—John Piper, God’s Passion for His Glory
Yes, the demons knew Him, the Pharisees even obeyed God, but neither enjoyed Him and thus neither glorified Him.