Theft means taking more wealth than you create. This means taking it from the person who did create it.
This means those who create wealth have fewer resources to do so. Also, everyone wastes resources doing unproductive work like stealing, or building stronger walls to stop thieves.
So it does not matter what good is done with the stolen money: everybody, both rich and poor, ends up with far less of whatever they want.