Before his death in 1226, St. Francis foretold of a time before the end when the Church will have a false pope elected who will cause great disorder and lead many to lose their souls.

"THERE WILL BE AN UNCANONICALLY ELECTED POPE WHO WILL CAUSE A GREAT SCHISM, there will be diverse thoughts preached which will cause many, even those in the different orders to doubt, yea, even agree with those heretics which will cause my Order to divide, then will there be such universal dissension and persecutions that if those days were not shortened even the elect would be lost."

Shortly before he died, St. Francis of Assisi called together his followers and warned them of the coming troubles, saying:
"The time is fast approaching in which there will be great trials and afflictions; perplexities and dissensions, both spiritual and temporal, will abound; the charity of many will grow cold, and the malice of the wicked will increase. The devils will have unusual power, the immaculate purity of our Order, and of others, will be so much obscured that there will be very few Christians who will obey the true Sovereign Pontiff and the Roman Church with loyal hearts and perfect charity. AT THE TIME OF THIS TRIBULATION, A MAN, NOT CANONICALLY ELECTED, WILL BE RAISED TO THE PONTIFICATE, WHO, BY HIS CUNNING, WILL ENDEAVOR TO DRAW MANY INTO ERROR AND DEATH." Then scandals will be multiplied, our Order will be divided, and many others will be entirely destroyed, because they will consent to error instead of opposing it.

There will be such diversity of opinions and schisms among the people, the religious and the clergy, that, except those days were shortened, according to the words of the Gospel, even the elect would be led into error, were they not specially guided, amid such great confusion, by the immense mercy of God. Then our Rule and manner of life will be violently opposed by some, and terrible trials will come upon us. Those who are found faithful will receive the crown of life; but woe to those who, trusting solely in their Order, shall fall into tepidity, for they will not be able to support the temptations permitted for the proving of the elect. Those who preserve their fervor and adhere to virtue with love and zeal for the truth, will suffer injuries and, persecutions as rebels and schismatics; for their persecutors, urged on by the evil spirits, will say they are rendering a great service to God by destroying such pestilent men from the face of the earth, but the Lord will be the refuge of the afflicted, and will save all who trust in Him. And in order to be like their Head, Christ, these, the elect, will act with confidence, and by their death will purchase for themselves eternal life; choosing to obey God rather than man, they will fear nothing, and they will prefer to perish rather than consent to falsehood and perfidy. Some preachers will keep silence about the truth, and others will trample it under foot and deny it. Sanctity of life will be held in derision even by those who outwardly profess it, FOR IN THOSE DAYS JESUS CHRIST WILL SEND THEM NOT A TRUE PASTOR, BUT A DESTROYER."

How can a pope be uncanonically elected? 1

Biblical verse:
Daniel 7:25 He will speak against the Most High and oppress his holy people and try to change the set times and the laws. The holy people will be delivered into his hands for a time, times and half a time.

Book of Truth prophecy:
There can only be one head of the Church on Earth, authorised by my Son, who must remain pope until his death. Anyone else, who claims to sit in the Seat of Peter, is an imposter. This deceit has one purpose, to turn souls over to Lucifer and there is little time for such souls, who will be none the wiser, to be saved.2 –July 22nd, 2013