Proverbs 28:26 in the King James Version
He that trusteth in his own heart is a fool: but whoso walketh wisely, he shall be delivered.
Context
25 One who is greedy stirs up strife; but one who trusts in the LORD will prosper.
26 One who trusts in himself is a fool; but one who walks in wisdom is kept safe.
27 One who gives to the poor has no lack; but one who closes his eyes will have many curses.