Even software engineers are barely middle/upper-middle class in most of the world. A landlord, lawyer, doctor can easily gather more wealth.