US President Joe Biden said that he discussed Irans attack on Israel with the G7 leaders.