Speaking as someone who’s married to a Peruvian and really loves Medellin (or at least used to) Latin America can be great for stretching your dollars and living above your income level. However there are no free ham sandwiches and violence is a key.
I will say though that generally Peru is safe in terms of violent crime and Lima in particular is safe so long as you stay in the better parts of the city.
For cheap and developed I’d look at Uruguay. The major drawback is it’s a LOOOOONNNG way south.
Josh