It’s also the only credible answer to the Fermi paradox. Any civilization advanced enough for interstellar travel is advanced enough to generate all of their desires at home.
Which I believe is also why most great filter candidates are usually not things that a species would do by choice, but instead an accidental, inevitable or inherent feature of the universe/existence.
So then why did Star Trek happen if they had replicators?
Because when you have everything you poke around for fun. Kind of like how science was pushed along by bored aristocrats doing it as a hobby for centuries.
[0] Some major Tenacious D "City Hall" vibes with how well that part of the setting works. "Third decree: No more rich people, and poor people. From now on we will all be the same! Umm... I don't know, I gotta think about that...."