John McCain's farewell letter to America makes a powerful statement about the country he loved and his hope for the future. 

After six decades of dedicated public service, there was no way John McCain was going to go gently into the good night. The Arizona senator and former presidential candidate died at his home in Sedona on Saturday, August 25 at the age of 81, having battled brain cancer for the past year. But first, he wrote a parting message. 

Read More: Champion of the Irish and immigration Senator John McCain passes away at 81

On Monday, an aide for the proud Scots Irish statesman shared a final farewell to America that McCain penned before he passed away. It offers insight into his love for America and a message of hope to those who are despairing of the current political climate.

Aide reads farewell letter from John McCain: “We weaken our greatness when we confuse our patriotism with tribal rivalries...We weaken it when we hide behind walls, rather than tear them down, when we doubt the power of our ideals, rather than trust them." https://t.co/PMZ4UJHNp3 pic.twitter.com/OkKdP4v1Zu

— ABC News (@ABC) August 28, 2018

Read McCain's letter in full below:  

My fellow Americans, whom I have gratefully served for sixty years, and especially my fellow Arizonans,

Thank you for the privilege of serving you and for the rewarding life that service in uniform and in public office has allowed me to lead. I have tried to serve our country honorably. I have made mistakes, but I hope my love for America will be weighed favorably against them.

I have often observed that I am the luckiest person on earth. I feel that way even now as I prepare for the end of my life. I have loved my life, all of it. I have had experiences, adventures and friendships enough for ten satisfying lives, and I am so thankful. Like most people, I have regrets. But I would not trade a day of my life, in good or bad times, for the best day of anyone else's.

Read More: Duty, Honor, Courage, Heritage. Read our full 2006 interview with John McCain

Young John McCain

Young John McCain

I owe that satisfaction to the love of my family. No man ever had a more loving wife or children he was prouder of than I am of mine. And I owe it to America. To be connected to America's causes -- liberty, equal justice, respect for the dignity of all people -- brings happiness more sublime than life's fleeting pleasures. Our identities and sense of worth are not circumscribed but enlarged by serving good causes bigger than ourselves.

Fellow Americans' -- that association has meant more to me than any other. I lived and died a proud American. We are citizens of the world's greatest republic, a nation of ideals, not blood and soil. We are blessed and are a blessing to humanity when we uphold and advance those ideals at home and in the world. We have helped liberate more people from tyranny and poverty than ever before in history. We have acquired great wealth and power in the process.

We weaken our greatness when we confuse our patriotism with tribal rivalries that have sown resentment and hatred and violence in all the corners of the globe. We weaken it when we hide behind walls, rather than tear them down, when we doubt the power of our ideals, rather than trust them to be the great force for change they have always been.

John McCain at an Irish Lobby for Immigration Reform event

John McCain at an Irish Lobby for Immigration Reform event

We are three-hundred-and-twenty-five million opinionated, vociferous individuals. We argue and compete and sometimes even vilify each other in our raucous public debates. But we have always had so much more in common with each other than in disagreement. If only we remember that and give each other the benefit of the presumption that we all love our country we will get through these challenging times. We will come through them stronger than before. We always do.

Ten years ago, I had the privilege to concede defeat in the election for president. I want to end my farewell to you with the heartfelt faith in Americans that I felt so powerfully that evening.

I feel it powerfully still.

Do not despair of our present difficulties but believe always in the promise and greatness of America, because nothing is inevitable here. Americans never quit. We never surrender. We never hide from history. We make history.

Farewell, fellow Americans. God bless you, and God bless America.

McCain's family members and supporters widely shared his message, too:

Please read my father's farewell letter to the country he loved so much - “Do not despair of our present difficulties but believe always in the promise and greatness of America, because nothing is inevitable here. Americans never quit. We never surrender.” 🇺🇸 pic.twitter.com/pwZUR7R3dp

— Meghan McCain (@MeghanMcCain) August 27, 2018

McCain will lie in state in Phoenix, Arizona, and in Washington DC before a funeral at the Washington National Cathedral and his burial in Annapolis, Maryland.