Daniel 7:21-22
7:21 While I was watching, that horn began to wage war against the holy ones and was defeating them,
7:22 until the Ancient of Days arrived and judgment was rendered in favor of the holy ones of the Most High. Then the time came for the holy ones to take possession of the kingdom.