I've known the feeling. I am convinced that what is happening is exactly as God describes it. God is a refiner. We are precious metal, yet to be purified. Trials are God's fire which melt our very core. As it is with metallurgy, when God melts us, our sin (dross) floats to the surface. God uses affliction to expose all our moral ugliness (like wanting to throw the Bible out the window). And He eventually removes the dross, purifying our faith so that our sacrifices of worship will be more pleasing to Him:
Malachi 3:2-4
"But who can endure the day of his coming, and who can stand when he appears? For he is like a refiner’s fire and like fullers’ soap. He will sit as a refiner and purifier of silver, and he will purify the sons of Levi and refine them like gold and silver, and they will bring offerings in righteousness to the Lord. Then the offering of Judah and Jerusalem will be pleasing to the Lord as in the days of old and as in former years."
1 Peter 1:5-7
"who by God’s power are being guarded through faith for a salvation ready to be revealed in the last time. In this you rejoice, though now for a little while, if necessary, you have been grieved by various trials, so that the tested genuineness of your faith—more precious than gold that perishes though it is tested by fire—may be found to result in praise and glory and honor at the revelation of Jesus Christ."