How about his condoning of slavery? Or his insistence through the church that the earth was the center of the universe? Or his instructions on how to sell your daughter into slavery? If he makes no mistake why did the new testament have to replace the old?
God may not make mistakes, but humans who insist they are following gods word do it all the time.