Not only that but how many games were played during the season Willy Mays played in? Same with Babe Ruth. They played fewer games back then and now more are played which gives today’s hitters more games to make or break a record. It should be game for game.
Babe Ruth played when they had a154 game season. Willie Mays played about half his career when they had a 154 game season, and about half after the schedule expanded to the current 162 game season.
There are other factors too. Babe played all day games. Babe didn’t face multiple relief pitchers in one game the way hitters do now. Willie didn’t face ninth inning “closer”,relief pitchers, as baseball teams didn’t use relief pitchers that way when he played.