Why do people resent me when I gave everything I had, honestly and with my whole heart?
They resented your giving because it showed them something they couldn't face.
It hurts in a particular way when the very thing you did right, giving honestly and fully, is what made people turn on you. It can make you wonder whether you should have held back.
This teaching goes back to the first brothers. Cain gave crumbs, "not to give, just to get." Abel was the opposite: "He spoke, he gave, and he offered the best." Abel had no flaw that caused the hostility. It came from Cain, who couldn't face what Abel's giving showed about himself.
So the resentment you met doesn't prove your giving was wrong. It shows what your giving revealed to someone who wasn't ready to see it. The teaching doesn't tell you to give less. It says that when you give from the soul, "you don't hold back," and that this kind of giving builds and lifts. Keep offering your best.
“He spoke, he gave, and he offered the best.”