These were people who were searching for God and whose attitude was such that they would accept the Gospel. Through the preaching of Paul they were given an opportunity to repent and be saved, to escape from Babylon. Cornelius is also a good example. Because God appreciated this, He provided Cornelius with an opportunity to hear the Gospel. Do not be unequally yoked together with unbelievers.
Some people think they can compromise with a false religion.
They think they can serve God inwardly although they remain in a denomination that deviates from the doctrine of Christ. They are mistaken. If they remain in Babylon, they will perish with Babylon. Whoever transgresses and does not abide in the doctrine of Christ does not have God. He who abides in the doctrine of Christ has both the Father and the Son.