President Barack Obama said Thursday faith is the "great cure" for the fear that sometimes leads people to do "funny things."
He said his faith also helps him deal with the "unique elements of my job."
The president made the comments at the annual National Prayer Breakfast in Washington. It's his final address as president to the annual nondenominational gathering.
He said fear of change and the uncertainty it often brings can lead people to lash out against anyone who's different.
He said fear can also lead people to give in to despair and it can feed man's most selfish impulses.
The president said faith and Jesus are good cures for fear. Obama also spoke about tolerance for different religions.