I think in the story... the eyes donated to girl is from her boyfriend... just guessing ....

Anyway.. great lessons... yes... you are right.. ISLAM also teaches same thing.... (but today Muslims.. most cases stop following true Islam teaching...)

ISLAM tells us always look and compare yourself with Lower / unfortunate ones than yourself... and thank ALLAH for what you have or HE has given you.... Don't just set example by looking rich and greedy ones...