Ecclesiastes 5:1 NKJV Walk prudently when you go to the house of God; and draw near to hear rather than to give the sacrifice of fools, for they do not know that they do evil.
Sometimes when in the presence of God we don’t acknowledge Him and show Him the respect He deserves in our conduct, e.g. when our mouths are in worship but our minds are wandering etc. Our level of comportment in church is a reflection of our attitude towards God. “Just going to church doesn’t make you a Christian any more than standing in your garage makes you a car”- GK Chesterton.