There are proud people who will forego all possibilities of wealth and bounty for the sake of principle. Pride does not, IMO, result from "greed." Think about it. Why are people greedy? Because they want expensive stuff, they want to be comfortable, and they want to outdo their neighbors. Only the last rationale is associated with "pride" and in this case, pride comes first, and greed follows.

Thorin is proud of being a dwarf Lord from Erebor. He is proud of his fathers, and the great works they created under the Mountain. He is proud of the company's success and reaquisition of his fathers' treasure. He is proud of reclaiming the title of King Under the Mountain. So proud is he, that when the men who aided the dwarves arrive to ask for their share of the treasure, he refuses. Is it because he wants expensive stuff, wants to be comfortable, or outdo his neighbors? No. It is because he loves the work of his people overmuch, and will not suffer it to be handled by upstarts and their armies.

That is pride. Greed results from that attitude, not vice versa. So proud, he becomes, that he finally claims all the gold for himself. In this sense, greed is only one sympton of being over-proud. Just as it was for Feanor.