2 Corinthians 10:5 Casting down imaginations, and every high thing that exalteth itself against the knowledge of God, and bringing into captivity every thought to the obedience of Christ;

Sin occurred first in heaven before it took place in the Garden of Eden by the disobedience of Adam and Eve. Lucifer, the most beautiful of the archangel rebelled against the sovereign rule his Creator in 5 prideful thoughts.

Isaiah 14:12-14 How art thou fallen from heaven, O Lucifer, son of the morning! how art thou cut down to the ground, which didst weaken the nations! 13 For thou hast said in thine heart, I will ascend into heaven, I will exalt my throne above the stars of God: 14 I will sit also upon the mount of the congregation, in the sides of the north: I will ascend above the heights of the clouds; I will be like the most High.

In Isaiah 14:15, is recorded God’s judgment upon Lucifer or Satan, “Yet thou shalt be brought down to hell, to the sides of the pit.”