Ecclesiastes 5:1

New American Standard Bible (NASB)
[a]Guard your steps as you go to the house of God and draw near to listen rather than to offer the sacrifice of fools; for they do not know they are doing evil.

Read Ecclesiastes 5:1 in other translations