The pontiff praised Bangladesh in an address to priests at Mother Teresa Home for orphans in Dhaka's Tejgaon before leaving Bangladesh on Saturday, ending his three-day tour amid cheers from the people for uttering the word 'Rohingya' finally after visiting Myanmar.
At the Mother Teresa Home, the pope described disunity between people as the shortcomings of the society.
"Bangladesh is a role model of interreligious harmony," he said.
He urged all to live life happily and away from criticism and backbiting.
"Defaming someone is also a form of terrorism. Both happen secretly," he said.
After the address, Pope Francis visited the Holy Rosary Church Graveyard next to the Mother Teresa Home.
"When a group of people, religion or a society make a 'little world', they lose the best that they have and plunge into a self-righteous mentality of 'I am good, and you are bad'," Francis said at the Notre Dame College, founded by Catholic priests.
He also asked his young listeners to "not to spend the whole day playing with your phone and ignoring the world around you!"
But on Friday, in an emotional interreligious conference also attended by a group of Rohingya refugees, the pope used the term for the first time during his Asia trip.
The Bangladesh government is considering the matter as an 'achievement'.
The government is trying to send back the refugees to Myanmar, with which it recently signed a repatriation 'arrangement'.