In a message for the Jewish new year, British Prime Minister David Cameron stressed that in the wake of anti-Semitic attacks around the world, Jewish people “must not be left to live in fear.”

“As Jewish communities unite in prayer across the world, thoughts will turn to the tragic loss of life that we have seen following a number of horrific and abhorrent anti-Semitic attacks over the past year,” he said in a Rosh Hashanah video message to the Jewish community, published on Sunday.

“Jewish communities must not be left to live in fear. As prime minister, I will do everything I can to stamp out such hatred now and in the future,” he said.

“I will stand by Britain’s promise to remember the Holocaust,” Cameron continued. “The UK Holocaust Memorial Foundation which I set up with cross-party support is already undertaking urgent work to capture the testimony of British holocaust survivors and to ensure that the lessons of the darkest chapter of our history are never forgotten.”

He also recalled the contribution that Jews have made to British society.

“I deeply admire the way Jewish communities emphasize their responsibility for creating a better, fairer society for everyone,” he said. “This is one of the reasons the community has made such an immeasurable contribution to all areas of British life.”

The British prime minister, who last week met with Prime Minister Benjamin Netanyahu in London, ended with the traditional Hebrew phrase that wishes for people to be inscribed in the book of life.

“I wish everyone a very sweet new year. Shana tova and a ketivah v’chatima tovah,” he said.

Rosh Hashanah begins Sunday evening and continues until Tuesday evening.

Earlier, in a Rosh Hashanah video message, US President Barack Obama said “peace is hard,” but urged Jews worldwide and Israel to “write the next chapter in a way that speaks to the best of our traditions and the highest of our ideals.”

The US president added that “faith is hard, hope is hard, peace is hard, but right now the book is open, not just for God but for us.”