(CNN)German Chancellor Angela Merkel on Thursday described recent attacks in the country and across Europe as "shocking, depressing and terrifying," but she refused to back down from an open-door refugee policy that has attracted fierce criticism following recent assaults in the country.
One Twitter user posted a pair of hands covered in blood, quoting Merkel with, "We have already accomplished a lot," using the #MerkelSommer hashtag.
Merkel vowed to boost security and improve counterterrorism measures, but she stood firm on Germany's position of accepting nearly all asylum seekers found to be legitimate refugees. Germany took in more than 1 million refugees in 2015, making it the most open country in Europe to asylum seekers.
"We decided to fulfill our humanitarian tasks," she told reporters at a news conference, according to a translator. "Refusing humanitarian support, that would be something I wouldn't want to do and I wouldn't recommend this to Germany."
She said that terrorists wanted Germany to "lose our view for what's important to us."
"They want to divide our unity, our cooperation, they want to harm our life," she said. "They want to prevent our openness to welcoming people. They spread hate between cultures and also among religions."
But she added that those who came to Germany as refugees but then carry out attacks "mock the country that took them in."
"We have to do more to [combat] the causes of migration," she said.
At the same time, she said Germany must improve the process for repatriation of migrants whose asylum applications had been rejected. International treaties, however, forbid countries from returning migrants to places of danger, such a war-ravaged Syria, even if a migrant has been refused refugee status.