For God has put it into their hearts to carry out His own purpose by acting in harmony in surrendering their royal power and authority to the beast, until the prophetic words (intentions and promises) of God shall be fulfilled.
[L For] God ·made the ten horns want [L put it into their hearts] to carry out his ·purpose [intention] by agreeing to give the beast their ·power to rule [kingdom], until ·what God has said comes about [L the word of God has been fulfilled/completed].
Then he said to me, “As for the waters which you saw, on which the woman took her seat, they are peoples and vast crowds, nations and languages. The ten horns and the animal which you saw will loathe the harlot, and leave her deserted and naked. Moreover, they will devour her flesh, and then consume her with fire. For God has put it into their hearts to carry out his purpose by making them of one mind, and by handing over their authority to the animal, until the words of God have been fulfilled.
The Angel continued, “The waters you saw on which the Whore was enthroned are peoples and crowds, nations and languages. And the ten horns you saw, together with the Beast, will turn on the Whore—they’ll hate her, violate her, strip her naked, rip her apart with their teeth, then set fire to her. It was God who put the idea in their heads to turn over their rule to the Beast until the words of God are completed. The woman you saw is the great city, tyrannizing the kings of the earth.”
"For Hashem has put it into the levavot (hearts) of them to accomplish his purpose by their acting with one mind and by giving their malchut (kingdom) to the Chayyah (Anti-Mosiach) until will be fulfilled the divrei Hashem. [YIRMEYAH 39:16]
For God gave into the hearts of them, that they do that that is pleasant to him [that they do that that is pleasant before him], that they give their kingdom to the beast, till the words of God be ended.