once the capital of a spanish empire encompassing ecuador , colombia , bolivia , chile , argentina , and peru , lima was one of the world 's wealthiest and most luxurious cities in the sixteenth , seventeenth , and eighteenth centuries .