But they rebelled, and grieved his holy Spirit; and he changed himself to become their enemy, and he fought against them.