Then you have the species whose backstory is imperialism or fascism, that control many other species that only have lesser technology. In some episodes, but especially in the books that are considered canon, you can see them influencing (slowing or outright destroying) the development of sufficient technology of their vassals so they remain dependent on the masters.
But the masters themselves (Romulans, Cardassians, Klingons...) have the same post-scarcity economy as the Federation for their "full citizens".
What's interesting is the case of Bajor in DS9, which is developing the post-scarcity utopia after the Cardassians left them in ruins; with Federation help but not too much of it because they want to be independent.
Good guys like the Vulcans seem to have only personal and psychological problems, not material ones.