The Bible Undressed

Did the prophets sometimes utter false prophecies? Is it safe to assume that everything in the Bible was written by a prophet inspired by God to speak the truth?