Isaiah 63:10 KJV

10 But they rebelled , and vexed his holy Spirit: therefore he was turned to be their enemy , and he fought against them.