This is not true. This is one of the sayings of Job for which God reprimanded him in Job 38:2 as:
‘speaking with understanding devoid of knowledge, understanding that darkens God’s counsel’ .
Clearly, God’s words to Job in Job 38:2 cannot be construed to be a compliment. Job’s response in Job 42:3?
You asked, ‘who is this who hides counsel without knowledge?’ Therefore I have uttered what I did not understand, Things too wonderful for me, which I did not know.
Romans 11:29 states clearly, that:
For the gifts and calling of God are irrevocable.
Irrevocable means never are taken back by God.
For emphasis, Proverbs 10:22 states:
The blessing of the Lord makes one rich, and He adds no sorrow with it.
Finally, Zephaniah 3:5 and James 1:13 state, respectively:
The Lord is righteous in her midst, He will do no unrighteousness. Every morning He brings His justice to light; He never fails, But the unjust know no shame.
Let no one say when he is tempted, “I am tempted by God”; for God cannot be tempted by evil, nor does He Himself tempt anyone.
God allows trials of our faith, yes. He Himself never blesses then takes away. In Job’s case, all that happened that was evil was done by Satan. God blessed before the trial, God allowed the trial, God blessed after the trial. There is no attribution of any of the evil whatsoever to God in the Book of Job.
The reason why God allows trials? So we can prove we are not with Him merely for the benefits (remember parable by Jesus Christ of seed sown in midst of thorns — cares of life?). This of course means that once we prove we are with Him for the right reasons, as Job did, all that was lost and more is restored.
God does not bless and take away. God blesses, then restores whatever is lost in midst of trials He allows because in an imperfect world He at times needs to demonstrate the genuineness of our faith. God, however, never Himself allows repeat trials — never allows the same trial over and over and over again. If a trial is failed, we fall out of Christ by choice, no more need for trials allowed by God. But we do not fail via imperfection, we fail only via denial in context of our actions, of Him in whom we claim to have reposed our faith — Jesus Christ. When we refuse for instance to forgive those who have hurt us, regardless of promptings from the Holy Spirit, we fail in course of the trial of our faith. If we pass the test, it is unjust of God to continue to allow the same trial. There is not any unrighteousness in God, Father of our Lord and Savior Jesus Christ. Amen.