One of the theories for alien contact is the Prime Directive scenario where aliens exist and have a huge intergalactic community but you're not allowed in until you can prove that you can behave yourself. There would be a set of criteria that you have to pass before first contact is made. I've thought about what that list would look like and "giving up outdated superstitions" is one of the possibilities.
Generally it looks something like:
1. Developed a sustainable energy supply (green energy)
2. Developed a sustainable mineral supply (recycling)
3. Climate/pollution levels stable
4. Majority of planet's able population is productive and reasonably cared for. No such thing as the "third world"
5. No major conflicts, resource disputes are handled peacefully and fairly. (tribalism would have to become a relic of the past)
6. Some sort of world government is available -- Otherwise who do you contact?
7. Has something to offer on the galactic stage -- This is a real wildcard, since we would likely be many thousands of years behind technologically, but it's not impossible that we went down some branch that most everybody else did not. Maybe our silicon based electronics are unique in the universe (not likely) and can offer some advantages. More likely it would have to be art/music/culture instead.
Unfortunately a list like this means neither me nor my children are going to be around for first contact. All of these problems are way too big to deal with in my lifetime. But it's also completely and entirely reasonable I think. Nobody is going to give away Warp drives to someone who still thinks war is a reasonable option--that's just asking for trouble. And you don't want people who have not even figured out their own shit messing up other planets. Plus, the timescales involved are potentially huge. They may not even check but once every 1,000 years or more, especially if travel is expensive.