At first gold had some purpose as far as I remember. Buying Talents and potions or something. This was removed but gold is still there.