President Biden will attend the G7 meeting in Germany, where leaders likely will address Russia’s blockade of Ukrainian ports along the Black Sea, which is endangering food security in some countries.