The Ferengi were supposed to be the villain in 'Next Generation' and were capitalist.
They were too laughable to be threatening so they had to come up with the Borg instead in season 2 and onward.
During the run of DS9, the Ferengi become one of my favourite groups of characters.