All Apollo flight went around the moon. ALL.
As I recall watching Apollo 1. I am pretty sure it never made it to the moon.
Apollo 7 was the first crewed Apollo mission to go into space. But it stayed in earth orbit to test the Apollo Command and Service modules.
Apollo 8 orbited the moon sans the Lunar Module.
Apollo 9 carried a Lunar Module…but stayed in earth orbit to test it.
…Just to clarify.
That is not correct. All the Apollo flights that went to the moon went around the moon. That much is true.
Apollo 4,5,6 were unmanned, and also remained in Low Earth Orbit.
Apollo 7,9 were manned flight tests that remained in Low Earth Orbit.