Psalms 73:22 (KJV)

So foolish was I, and ignorant: I was as a beast before thee.