Why are there rich countries that are poor

No.13902166 ViewReplyOriginalReport
How come Countries like Mexico, Argentina, Brazil and Chile are poor?
Everything over there looks shittier than in Europe/America. Even their "nice neighborhoods" look like regular suburbs in Europe/America, since they've opted both, depending in the city.
The image is a Mexican suburb.