Meghan McCain, John McCain’s daughter, delivered a powerful speech at her father’s funeral on Saturday, and in a reproach of President Trump, said the “America of John McCain has no need to be made great again because it was always great.”

Ms. McCain’s speech contrasted her father’s legacy with the “opportunistic appropriation” and “cheap rhetoric from men who will never come near the sacrifice he gave so willingly.”

“He was a fire that burned bright,” Ms. McCain said. “A few have resented that fire for the light it cast upon them, for the truth it revealed about their character, but my father never cared what they thought. And even that small number still have the opportunity, as long as they draw breath, to live up to the example of John McCain.”

Ms. McCain’s speech, and her rebuke, came as Mr. Trump, wearing golf gear, a white shirt and a “Make America Great Again” hat, left the White House for his Trump National Golf Club in Sterling, Va. Mr. Trump, who was not invited to Mr. McCain’s funeral, has long mocked and condemned the senator.