The Group of Eight was an intergovernmental political forum from 1997 to 2014, formed by incorporating Russia into the G7. The G8 became the G7 again after Russia was expelled in 2014 after the Russian annexation of Crimea. From Wikipedia
The U.S. president now opposes Russia’s return to the G7, claiming its inclusion could have prevented the Ukraine war but arguing the timing is no longer appropriate.