Two separate questions.
It is an old cliche that "knowledge is power". Obviously that is untrue; knowledge is not sufficient.
As to wealth, it is the proper application of knowledge that will lead to wealth.
Which is preferable, knowledge or wealth? Wealth is preferable if one has the ability to gain knowledge. As to lottery winners, supposedly most of them blow it, and within a few years are back i their trailer park. They do not have knowledge, the ability to gain it, or the ability to apply it properly.