2 Kings - Chapter 10
In this chapter God's judgement falls on Ahab's family and on the worshipers of Baal. It is bloodthirsty, and is not pleasant reading. However, the judgement for sin is not pleasant, as was demonstrated by the death of Jesus on the cross in our place - and that story too, is not pleasant reading.
And while King Jehu was used by God to deliver his judgment, he did not turn to God, and did not turn away from his sins.
"So Jehu destroyed Baal worship in Israel. However, he did not turn away from the sins of Jeroboam son of Nebat, which he had caused Israel to commit—the worship of the golden calves at Bethel and Dan. The Lord said to Jehu, “Because you have done well in accomplishing what is right in my eyes and have done to the house of Ahab all I had in mind to do, your descendants will sit on the throne of Israel to the fourth generation.” Yet Jehu was not careful to keep the law of the Lord, the God of Israel, with all his heart. He did not turn away from the sins of Jeroboam, which he had caused Israel to commit."
Similarly, in the story of Jesus' crucifixion, Caiaphas, the High Priest, does not accept Jesus as Lord; and, indeed, he plots to kill him. But in John 11 it is made clear that he is being used by God, and prophesies about him in his role as High Priest.
"Then one of them, named Caiaphas, who was high priest that year, spoke up, “You know nothing at all! You do not realize that it is better for you that one man die for the people than that the whole nation perish.” He did not say this on his own, but as high priest that year he prophesied that Jesus would die for the Jewish nation, and not only for that nation but also for the scattered children of God, to bring them together and make them one. So from that day on they plotted to take his life."