1 Kings 21:20
So Ahab said to Elijah, “Have you found me, O my enemy?” And he answered, “I have found you, because you have sold yourself to do evil in the sight of the Lord:
2 Kings 17:17
And they caused their sons and daughters to pass through the fire, practiced witchcraft and soothsaying, and sold themselves to do evil in the sight of the Lord, to provoke Him to anger.
Being entirely sold out to do evil means their heart is totally hardened against God, and they are committed whole heartedly to do evil in his sight, not that they have sold themselves to the devil.
For the prophet of God tells David something similar in wording
2 Samuel 12:9
Why have you despised the commandment of the Lord, to do evil in His sight? You have killed Uriah the Hittite with the sword; you have taken his wife
to be your wife, and have killed him with the sword of the people of Ammon.
God tells us “Behold, all souls are Mine;
So the Devil can capture someone to do his will, but the devil does not own their souls, their souls God owns, meaning also the judgement of their destiny is God's alone, and not the devil's.
Ezekiel 18
New King James Version
A False Proverb Refuted
18 The word of the Lord came to me again, saying, 2 “What do you mean when you use this proverb concerning the land of Israel, saying:
‘The fathers have eaten sour grapes,
And the children’s teeth are set on edge’?
3 “As I live,” says the Lord God, “you shall no longer use this proverb in Israel.
4 “Behold, all souls are Mine;
The soul of the father
As well as the soul of the son is Mine;
The soul who sins shall die.