God does whatever he does, Isaiah 45:
God uses Satan to demonstrate the power of the cross, 1 John 3:
God used Satan to test/tempt people.9“Woe to those who quarrel with their Maker,
those who are nothing but potsherds
among the potsherds on the ground.
Does the clay say to the potter,
‘What are you making?’
Does your work say,
‘The potter has no hands’?
10Woe to the one who says to a father,
‘What have you begotten?’
or to a mother,
‘What have you brought to birth?’
God uses Satan to demonstrate the power of the cross, 1 John 3:
If you are not on Satan's side but on God's side, you are okay, Romans 8:8 Whoever makes a practice of sinning is of the devil, for the devil has been sinning from the beginning. The reason the Son of God appeared was to destroy the works of the devil.
28 And we know that in all things God works for the good of those who love him, who have been called according to his purpose.