You're literally creating value. You're then capturing some (but not all!) of that value you created, and rather than doing what some people do (use that value only for yourself), you're giving that value to charity.
That is the wrong line of logic. Many people who have a lot of money are/were not interested in making money beyond what it would take them to have a decent life.
They never made money. They made something else and that something, by consequence, generated a lot of money. For some of these guys the amount of wealth created satisfied a different need, perhaps some measure of impact, but it was never about accumulating wealth in the first place.
For example, take two simplified cases:
1. He makes a lot of money, and as a direct result of his fortune and generosity, he can effect [1000 employees * 10 years] = 10,000 man-years of charity work
2. He works directly at a charitable institution and performs 30 direct man-years of charity work, but makes no appreciable amount of money to multiply his efforts
If you're interested in a better explanation of this with regard to charity, I would check out Singer's book "The Most Good You Can Do", which is an exploration on the theory of effective altruism.
That's like saying "If you work to buy a house and food, why don't just build it instead along with a garden in the back and not work?" To which the answer is it is cheaper to do what you are best at and sell the surplus to buy all the houses your new money can afford.