What does Elijah’s prayer for drought have to do with prayers for healing? (James 5:17-18)

I am curious why James selects Elijah’s prayers starting and ending a drought in Israel as an example of how powerfully a righteous man’s prayer can give healing (James 5:17-18). How does this support the author's point? If James were ...