How about Job then, literally allowing Satan to destroy his life? Was that Gods doing and with foreknowledge of the outcome?
The LORD said to Satan, “From where do you come?” Then Satan answered the LORD and said, “From roaming about on the earth and walking around on it.” The LORD said to Satan, “Have you considered My servant Job? For there is no one like him on the earth, a blameless and upright man, fearing God and turning away from evil.”[Job 1:7-8]
Satan never mentioned anything about Job, the Lord did. Yet, Job never sinned with his lips. Even when he said “You speak as one of the foolish women speaks. Shall we indeed accept good from God and not accept adversity?” In all this Job did not sin with his lips.[Job 2:10] Job knew that which happened to Him was from the Lord. Yes, Satan did it, but God prompted him to do it.