Brazil has a large and heavily industrialized economy. It is however radically unequal (even by US terms) which may be why you think the country is poor as a whole. With a GDP of $2 trillion USD the Brazilian economy is comparable to Spain or Korea in size.