Well, this is a hypothetical question, because that isn't an either or question and God would not tempt us with that kind of choice. In fact, He said "The thief cometh not, but for to steal, and to kill, and to destroy: I am come that they might have life, and that they might have it more abundantly." (John 10:10)
That "abundantly" part is something only a believer can understand. While God may bless us with wealth, abundance is not always measured in dollars - euros - or whatever currency one might use.
However, if I had that choice I think I would choose knowledge as wealth without knowledge would be useless, but knowledge without wealth would allow me to figure out how to live without wealth.