If the article is nonfiction and unbiased, the author most likely wrote the article to inform. If the article is nonfiction and biased, the author most likely wrote the article to persuade. If the article is fiction, the author most likely wrote the article to entertain.
It matches because Eleanor helped the soldiers and the quote is saying its your choice if you want to help the world, or just do nothing and Eleanor helped the world.