"ruined by" must be followed by a noun (or noun phrase). "greed" is a noun; "greedy" is an adjective. Note that "ruined by greedy ignorance" is possible because "greedy ignorance" is a noun phrase, consisting of adjective + noun.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.