I say that is unbiblical.
James 1:13–17 Let no one say when he is tempted, “I am being tempted by God”; for God cannot be tempted by evil, and He Himself does not tempt anyone. But each one is tempted when he is carried away and enticed by his own lust. Then when lust has conceived, it gives birth to sin; and when sin is accomplished, it brings forth death. Do not be deceived, my beloved brethren. Every good thing given and every perfect gift is from above, coming down from the Father of lights, with whom there is no variation or shifting shadow.
Rom 3:5–6 But if our unrighteousness demonstrates the righteousness of God, what shall we say? The God who inflicts wrath is not unrighteous, is He? (I am speaking in human terms.) May it never be! For otherwise, how will God judge the world?
Ps 92:15 To declare that the Lord is upright; He is my rock, and there is no unrighteousness in Him.
Ezek 18:25–32 Yet you say, ‘The way of the Lord is not right.’ Hear now, O house of Israel! Is My way not right? Is it not your ways that are not right? When a righteous man turns away from his righteousness, commits iniquity and dies because of it, for his iniquity which he has committed he will die. Again, when a wicked man turns away from his wickedness which he has committed and practices justice and righteousness, he will save his life. Because he considered and turned away from all his transgressions which he had committed, he shall surely live; he shall not die. But the house of Israel says, ‘The way of the Lord is not right.’ Are My ways not right, O house of Israel? Is it not your ways that are not right? “Therefore I will judge you, O house of Israel, each according to his conduct,” declares the Lord God. “Repent and turn away from all your transgressions, so that iniquity may not become a stumbling block to you. Cast away from you all your transgressions which you have committed and make yourselves a new heart and a new spirit! For why will you die, O house of Israel? For I have no pleasure in the death of anyone who dies,” declares the Lord God. “Therefore, repent and live.”
Ps 5:4–5 For You are not a God who takes pleasure in wickedness; No evil dwells with You. The boastful shall not stand before Your eyes; You hate all who do iniquity.