Daniel 7:22

22 until the Ancient One—the Most High—came and judged in favor of his holy people. Then the time arrived for the holy people to take over the kingdom.