How come Count Dooku is (was) so wealthy?

Wasn't he a Jedi most of his life? As a Jedi he should have renounced to all earthly possessions. Isn't it? Plus, he was trained since a infant/toddler (as most jedi) and he didn't quit the order too long before his death to amass such wealth (as seen in The Bad Batch) . So...was it his family's inheritance or something?

Wasn't he a Jedi most of his life? As a Jedi he should have renounced to all earthly possessions. Isn't it? Plus, he was trained since a infant/toddler (as most jedi) and he didn't quit the order too long before his death to amass such wealth (as seen in The Bad Batch) . So...was it his family's inheritance or something?