Noone's feed

Guys, I think I’m a bit confused here, why was Geum dying at the beginning but is okay at the end of the story? I feel like I missed a point in the story but if anyone knows lmk! Thanks:)