The Rings of Power Season 2 is rooted in J. R. R. Tolkien's Middle Earth. The events in the series take place thousands of years before the events in the books.
When Gandalf (Ian McKellen) says, "I will not say do not weep, for not all tears are evil," in The Lord of the Rings: The Return of the King, most of the people watching are already crying profusely.