That is kinda what I wonder about.
Just like we could maybe theoretically envision something like silicon-based instead of carbon-based life based on carbon and silicon being in the same column on the periodic table. But when we look more closely, we find that silicon-based bonds do lack some of the stability that carbon-based bonds have - they are similar, but not similar enough. Also - carbon is still way more common in the universe than silicon.
And once we settle for carbon-based life - There might be million different nucleic acids, but overall, only very few work really well as building blocks for life.
And on some level, this makes sense, doesn't it? If life exists, it makes more sense if it is based on building blocks that are common or easy to create by accidents, rather than exotic and unlikely to happen.
Though it's also not always the most common - carbon is still less common than hydrogen or helium. And we use some rarer elements, too. And the sun itself is a common type of star, but there is another type of star even more common. A variation of "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away"?