You get a billion dollars, in 10 years time you can choose to lose all your money/assets/wealth and end poverty as well as world hunger, both of these are done by magic and there's no getting around it, or you keep the money, but the world stays the same with regards to poverty and hunger.
So, really, the question is, can you go back to being a normal person after living for 10 years in a scenario where you have won capitalism and money is no object for anything you want to do in life in exchange for this great good for the world?
On the plus side you don't have to worry about living in poverty or ever going hungry. On the downside, you have to work for a living, you have a regular middle class life where you trade your time and labor for money and you have to live modestly again.