This Fourth of July weekend, while most red-blooded Americans are celebrating the freedoms and opportunities we hold dear, one leader is warning us to cut it out.

On the other side of the globe, Barack Obama is stomping all over the United States and warning Americans about showing too much patriotism.

On a visit to Indonesia this weekend, the former president attacked “love of country” and – of course – his successor.

Speaking specifically of the United States, he said that “some countries” have adopted “an aggressive kind of nationalism,” according to The Guardian, and have “increase resentment of minority groups.”

“It’s been clear for a while that the world is at a crossroads. At an inflection point,” Obama said. TRENDING: CNN's Anderson Cooper And Joe Biden Caught On Camera Completely Ignoring Social Distancing Rules He said that increased prosperity had been accompanied by new global problems, adding that as the world confronts issues ranging from inequality to terrorism, some countries – both developed and less developed – had adopted a more aggressive and isolationist stance.

“If we don’t stand up for tolerance and moderation and respect for others, if we begin to doubt ourselves and all that we have accomplished, then much of the progress that we have made will not continue,” he said.

“What we will see is more and more people arguing against democracy, we will see more and more people who are looking to restrict freedom of the press, and we’ll see more intolerance, more tribal divisions, more ethnic divisions, and religious divisions and more violence,” Obama said.

Obama has also busied himself criticizing the United States for pulling out of the Paris Climate Accords – essentially displaying unheard-of behavior: A former President of the United States going to a foreign country to criticize America.

While Obama is on his “America Sucks” world tour, President Trump hosted a “Celebrate Freedom” Rally in Washington D.C.

“Since the signing of the Declaration of Independence 241 years ago, America always affirmed that liberty comes from our creator. Our rights are given to us by God, and no earthly force can ever take those rights away. That is why my administration is transferring power out of Washington and returning that power back where it belongs to the people,” Trump said at the event. “Our religious liberty is enshrined in the very first amendment in the Bill of Rights. The American founders invoked our creator four times in the Declaration of Independence,” said Trump. “Benjamin Franklin reminded his colleagues at the Constitutional Convention to begin by bowing their heads in prayer. Inscribed on our currency are the words: ‘In God We Trust.’”

Here’s a video of the event:

H/T: The American Mirror