Read Revelation 17:17 Using Other Translations
For God hath put in their hearts to fulfil his will, and to agree, and give their kingdom unto the beast, until the words of God shall be fulfilled.
for God has put it into their hearts to carry out his purpose by being of one mind and handing over their royal power to the beast, until the words of God are fulfilled.
For God has put a plan into their minds, a plan that will carry out his purposes. They will agree to give their authority to the scarlet beast, and so the words of God will be fulfilled.