A replicator has to be able to replicate foods that tastes like the original.
It is said that replicator technology is based off transporter technology, which can transport all types of things that is said can't be replicated or copied reliably.
It should be able to make a perfect copy of something as simple as eggs, let alone steaks, wine etc.
There's nothing simple about the cellular structure of an egg, of meat, etc.
The replicator might be able to mix together the components making up such food - but its fine tunning is lacking. As is redundantly mentioned throughout star trek (how replicated food lacks flavor, etc).
Transporting something!=creating something. Not even close.
And that's the least of the problems the replicator has as a tool for 'unlimited' wealth: