From which book of the Bible is the following verse?

"For the LORD knows the way of the righteous: but the way of the ungodly shall perish"