It's called taxes.
taxes take a portion of your wealth... it shouldnt take 9k gold and put you at -4k... but sure... taxes