According to Jeremiah 18, God is willing to repent of the evil He has thought and promised to do to a nation if that nation repents of their evil and turns to God for mercy. That is not failed prophecy, that is reasonable expectation of mercy should God so decide to show it.