A rich person doesn't need it, a poor person has it, and if you eat it you will die.

The usual answer to this riddle is "nothing", but the double negative regarding "a rich person" is poor grammar. You should have said "The rich person needs it".

Other answers are possible, such as certain drugs I will not mention.