The Devil Knows God, and he is aware of the awesome power of our creator.
Satan recognises that if he was going to go up against the Almighty, he needed to be able to convince not just angels but people to rebel against God.
He convinced many Angels, and they were cast down with him, and now he is using those fallen angels to do his dirty work.
But God cursed him in Ezekiel 28:18 KJV, Thou hast defiled thy sanctuaries by the multitude of thine iniquities, by the iniquity of thy traffick; therefore will I bring forth a fire from the midst of thee, it shall devour thee, and I will bring thee to ashes upon the earth in the sight of all them that behold thee.
Psalm 1 King James Version (KJV) Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. 2 But his delight is in the law of the Lord; and in his law doth he meditate day and night.3 And he shall be like a tree planted by the rivers of water, that bringeth forth his fruit in his season; his leaf also shall not wither; and whatsoever he doeth shall prosper.4 The ungodly are not so: but are like the chaff which the wind driveth away.5 Therefore the ungodly shall not stand in the judgment, nor sinners in the congregation of the righteous.6 For the Lord knoweth the way of the righteous: but the way of the ungodly shall perish.