The devil wishes to do us harm, but sometimes God uses it for good
Genesis 50:20-21 But as for you, ye thought evil against me; but God meant it unto good, to bring to pass, as it is this day, to save much people alive. 21 Now therefore fear ye not: I will nourish you, and your little ones.
josephs brothers sold him into slavery
, the devil tempted and tricked eve ,she and adam sinned, but God used this for good from their seed to bring the savior and He would bruise the head of the serpent ( Satan)
“I will put enmity between you and the woman, and between your offspring and her offspring; he shall bruise your head, and you shall bruise his heel” Genesis 3:14-15
The crucifying of the Lord the devil meant it for evil,
acts 2:23— Him, being delivered by the determined purpose and foreknowledge of God, you [f]have taken by lawless hands, have crucified, and put to death; 24 whom God raised up, having [g]loosed the [h]pains of death, because it was not possible that He should be held by it.
Acts 2:31 … He would raise up the Christ to sit on his throne, 31 he, foreseeing this, spoke concerning the resurrection of the Christ, that His soul was not left in Hades, nor did His flesh see corruption. 32 This Jesus God has raised up, of which we are all witnesses. 33 Therefore being exalted [j]to the right hand of God, and having received from the Father the promise of the Holy Spirit, He poured out this which you now see and hear.
Acts 2:36 “Therefore let all the house of Israel know assuredly that God has made this Jesus, whom you crucified, both Lord and Christ.”
We all have sinned, the devil meant it to destroy us, but God can use us for good if we obey Him