Wealth by itself is nothing special.

Literal

Wealth [topic-は] merely that-alone [with-で] [topic-は] great thing [copula-ではない].

ただそれだけでは = 'by that alone / merely by itself.' 大したものではない = 'not a big deal.' Another philosophical perspective on wealth.