What is a country of mostly European immigrants that became rich by selling wheat and beef raised on the pampas?

The country you're describing is Argentina.

Here's why:

* European Immigration: Argentina has a significant history of European immigration, particularly from Spain, Italy, and Germany. This contributed to the country's cultural and linguistic diversity.

* Pampas: Argentina's vast and fertile pampas, a region of grassland, are ideal for raising cattle and growing wheat.

* Wheat and Beef Exports: Argentina became a major exporter of wheat and beef, fueling its economic growth in the late 19th and early 20th centuries.

While other countries in South America have also experienced European immigration and agriculture-based economies, Argentina stands out for its particular emphasis on wheat and beef exports from the pampas region.