Angela Merkel has rejected calls to change Germany's refugee policy following a wave of terror attacks in the country.
She said the asylum seekers responsible for deadly attacks in Ansbach and Reutlingen had “shamed the country that welcomed them” but that those fleeing persecution and war had a right to be protected.
The Chancellor vowed not to give to efforts by Isis supporters to frighten Germans into changing their way of life.
“The terrorists want to make us lose sight of what is important to us, break down our cohesion and sense of community as well as inhibiting our way of life, our openness and our willingness take in people who are in need,” she told a news conference after returning from holiday.
“They see hatred and fear between cultures and they see hatred and fear between religions. We stand decisively against that."
Mrs Merkel said recent attacks in Germany and France aimed to spread division and suspicion.
The German government is proposing new counter-terror measures on information sharing, web chatter, online arms sales and improving security.
Mrs Merkel said the country takes the "challenge of integration very seriously" and was working on anti-radicalisation programmes and early warning systems during asylum proceedings.
A failed Syrian asylum seeker blew himself up in a suicide bombing that injured 15 people outside a music festival in the Bavarian town of Ansbach on 24 July.
Mohammad Daleel, 27, had pledged allegiance to Abu Bakr al-Baghdadi, the leader of Isis in a video shared by the terrorist group.
Earlier the same day, a 21-year-old Syrian refugee killed a pregnant woman with a machete and injured several others in an attack in Reutlingen. The motive for the killing was unclear.
It came after a German teenager of Iranian heritage shot nine people dead before turning the gun on himself in Munich on 22 July. Police said the incident was not terror-related.
In an attack on 18 July, a teenage Afghan asylum seeker attacked train passengers with an axe in Wurzburg after declaring allegiance to Isis and was shot dead by police.
Thursday was Ms Merkel's second publicappearance in the past week. She had faced criticism from opponents for her muted response to the four attacks.
Ms Merkel dismissed criticism of that, noting that she will attend a memorial service in Munich on Sunday, and rejected the notion that she might personally feel any guilt about the attacks. “I have the feeling that I am acting responsibly and correctly, and no other feelings,” she said.
The German chancellor also repeated a phrase she first used at last summer's annual news conference that Germany “will manage” the challenges of the day.
“I didn't say 11 months ago that it would be an easy thing we could manage in passing, otherwise I wouldn't have had to say that sentence,” she said. “But I am, today as I was then, convinced that we will manage to do justice to our historic task ... we will also deal with the new challenge we now face, Islamist terror,” Ms Merkel said.
The recent wave of atrocities has fuelled growing anti-migrant sentiment in Germany, where more than 1 million asylum seekers arrived last year during the continuing refugee crisis.
The German government announced that all Syrian asylum seekers would be able to remain in the country as arrivals on European shores neared their peak in August last year.
Mrs Merkel hailed the policy under the slogan "Wir schaffen das!" ("We can do it!") but the positive mood shifted following the sex attacks in Cologne on New Year's Eve and anti-immigration parties are now on the rise.