He also extended the community's thanks to David Cameron and the government for dealing with Israel "in a fair manner" and for protecting British Jews.
It was essential for a negotiated settlement to be made in the Middle East to achieve peace, the Chief Rabbi said during an emotional address.
He cited the case of Magen David Adom paramedic Ilan Klein who has saved a number of Israeli lives and also saved a Palestinian terrorist who was shot after carrying out a knife attack.
"That's the Jewish way, that's the Israeli way," Rabbi Mirvis said.
The community recited prayers in memory of the Israelis killed in the attacks and for the recovery of those injured.
Also attending the service were MPs Mike Freer and Matthew Offord, Israel's deputy ambassador Eitan Na'eh, leading rabbis and figures from the Board of Deputies, United Synagogue and other communal organisations.
Listen to the full speech below: