The Lord teaches us to hunger and thirst for righteousness; however, God can open anyone's heart and mind to the truth even if they're not looking for it at all. The apostle Paul is a prime example.
Paul was hungering and thirsting after righteousness, but he initially ignorantly sought it through the law. Once he understood that Christ was the one to whom the law consistently pointed, he embraced him.
Phl 3:3
For we are the circumcision, which worship God in the spirit, and rejoice in Christ Jesus, and have no confidence in the flesh.
Phl 3:4
Though I might also have confidence in the flesh. If any other man thinketh that he hath whereof he might trust in the flesh, I more:
Phl 3:5
Circumcised the eighth day, of the stock of Israel,
of the tribe of Benjamin, an Hebrew of the Hebrews; as touching the law, a Pharisee;
Phl 3:6
Concerning zeal, persecuting the church; touching the righteousness which is in the law, blameless.
Phl 3:7
But what things were gain to me, those I counted loss for Christ.
Phl 3:8
Yea doubtless, and I count all things
but loss for the excellency of the knowledge of Christ Jesus my Lord: for whom I have suffered the loss of all things, and do count them
but dung, that I may win Christ,
Phl 3:9
And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith:
I definitely would not say that Paul was not looking for the truth at all.
1Ti 1:12
And I thank Christ Jesus our Lord, who hath enabled me, for that he counted me faithful, putting me into the ministry;
1Ti 1:13
Who was before a blasphemer, and a persecutor, and injurious:
but I obtained mercy, because I did it ignorantly in unbelief.