Because they rebelled against the words of God
All afflictions, as captivity and imprisonment, are generally for sin; which is a rebellion against God, and a transgression of his laws. Adam rebelled against the words of God, not giving credit to them, but believing the words of the devil; and so brought himself and all his posterity into that state of darkness, captivity, and death, before described. Some understand this only of the light of nature, and the dictates of it, against which men rebel; but rather it designs any and every revelation of the will of God, either in the law or in the Gospel; disobedience to which is rebellion against the words of God, and is highly resented by him.
And contemned the counsel of the most High;
the advice he gives in his law, and by his prophets, what to do, and what to avoid: and which he gives by the ministers of the word, in his Gospel and in his ordinances; which are both called his counsel, ( Luke 7:30 ) ( Acts 20:27 ) , the contempt of which is very displeasing to him, ( Proverbs 1:25 ) .