This sentence is not talking about money in general. It is talking about a specific set: "all the money in the world".
Other examples talking about a specific set of money:
Do you still have the money I gave you for your birthday?
The money donated to charities should be included on your tax forms, if you want to take the deduction.
Examples of using "money" in general:
Money won't buy happiness.
A wise person should have money in their head, but not in their heart. --Jonathan Swift
Money is a terrible master but an excellent servant. --P.T. Barnum