Of course it's "not all billionaires", but the ones who are genuinely good, they donate their wealth and their net worth actually goes down significantly. The founder of Duty Free, Chuck Feeney, was a billionaire who donated 99% of his wealth. Before he died, his net worth had been reduced to $2 million and renting an apartment in New York.
Many, if not most, billionaires don't donate. Their charity funds are fronts to avoid paying taxes. Because if they are as serious as Chuck Feeney with being philanthropic, most billionaires" net worth would have already gone down significantly. Chuck Feeney's own charity fund closed down after his goal of donating most of his wealth was accomplished.
I have read anecdotes that for many billionaires wanting to accumulate more and more wealth, they are keeping score and one-upping with another. There is no rhyme nor reason.