ATHENS, Greece (AP) — Drawing a broad lesson from the election of Donald Trump, President Barack Obama said Tuesday that world leaders need to pay attention to people's very real fears of economic dislocation and inequality in the midst of globalization. Obama, in a joint news conference with Greek Prime Minister Alexis Tsipras, said that both Trump's election and the British vote to leave the European Union reflected the need to deal with "people's fears that their children won't do as well as they have." The president earlier offered the Greeks reassuring words about the U.S. commitment to NATO, saying Democratic and Republican administrations alike recognize the importance of the alliance to the trans-Atlantic relationship. Obama pledged to keep pressing his view that "austerity alone cannot deliver prosperity and that it is going to be important both with respect to debt relief and other accommodative strategies to help the Greek people in this period of adjustment." Security was tight, with major roads shut down along Obama's motorcade route and a ban on public gatherings and demonstrations in swaths of central Athens and a southern suburb near a seaside luxury hotel where Obama was staying.