On the one hand:
This is the line of thinking that also appears in the famous scene near the end of C. S. Lewis’s book The Last Battle, where Emeth, the worshiper of Tash, is accepted by Aslan. Unknowingly he was actually serving Aslan because his worship was motivated by a love for truth and righteousness. The point is that Christ died for all persons, whether they know it or not, and the Holy Spirit is working to draw them to Christ, whether they know it or not, and they may be responding truly to the “light” they have and consequently be on the way to final salvation.
On the other hand:
Third, and following on from these two points, some understandings of the Supreme Being are so wrong, so wicked, that they simply direct worship wildly off target. Such clearly would be the case of the worship of the Canaanite god Moloch, or any other wicked, bloodthirsty deity elsewhere in the world. Such an abominable view of God cannot possibly accommodate, let alone facilitate, worship of the One True God. In sum, if you like that kind of deity, you’re not going to like the One True God.
Sidenote for those who get their theology of such matters from The Chronicles of Narnia: This is why I think C. S. Lewis gets it wrong in The Last Battle. (I say this with trepidation as a great admirer of CSL.) The god Tash is so clearly devilish that it seems incongruous to me that the estimable Emeth could worship this version of God and then, as it were, rather effortlessly transfer his allegiance to Tash’s adversary, Aslan (the Christ figure). I think Lewis overreaches here.
There has to be some identity between the two understandings of God such that the former is a cloudy and partial and adulterated but genuine understanding of God that the gospel at once extends, fulfills, and corrects. If instead the gospel simply has to supplant the former understanding, as in the case of horrible views of the divine, I find it impossible to conceive of worshipers of that horrible god connecting in any important way with the One True God. Instead, people raised in such religious traditions would have to develop deep misgivings about that god such that they do not worship it and instead long for the Great Alternative, however vague their notion of That might be. And that longing is the prevenient grace of the Holy Spirit drawing people away from error and toward The Truth.