Isaiah 63:10 NKJV

10 But they rebelled and grieved His Holy Spirit; So He turned Himself against them as an enemy, And He fought against them.