宝尽 たからずくしであれば
takarazukushideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 宝尽くし

1. If all treasures were exhausted; If all wealth were used up

Ba Conditional