Yep. This is an important point. Most stats aren't well-suited to be compared across eras. ERA, wins, innings pitched, etc., are just not good stats. That's why stats like ERA+, OPS+, and WAR have been created. By estimating production relative to the league that year, you at least stand a fighting chance of having a meaningful comparison across eras.