Daniel 7:22 NIV

22 until the Ancient of Days came and pronounced judgment in favor of the holy people of the Most High, and the time came when they possessed the kingdom.

References for Daniel 7:22