Does longer barrel mean more accurate?

The whole " a longer barrel is more accurate" statement got started along time ago when a longer barrel was more accurate or a better way to say it is a longer barrel made it easier for the shooter to shoot more accurately. Along time ago it was true a longer barrel general could be shot more accurately because they used iron sights back then not scopes. The longer sight radius on the longer barrel makes it easier to have a good alignment and easier to consistently get that good alignment.

Today with scopes and red dots you dont have the issues of trying to consistently line up iron sights. A longer barrel will not be more inherently accurate than a shorter one.
 
That’s the best most logical reason for this train of thought. Curious though how long ago that was and why this mentality has persisted (I’m guessing a bit of Napoleon syndrome).

A quick search (https://www.warhistoryonline.com/guest-bloggers/brief-history-rifle-optics-united-states.html) indicates that rifle scopes where first invented between 1835 and 1840 with widespread use beginning 1880.

I do know for a fact that with the 700mm barrel I’m able to turn my regulator down 7 bar and maintain the same velocity as the 600mm barrel. Which means that for my Crown the pellet is still accelerating after 600mm. As a result I get 5 additional regulated shots per fill.

However if you’re shooting a 100 yard competition the number of shots per fill shouldn’t be a primary consideration, as you’re allowed to refill your rifle as many time as you like. That’s not to say that good reasons don’t exist in a 100 yard competition. For example if you’re getting less than 30 shots per fill. Are you willing to break cheek to refill your rifle?