That was a Oden who was 1 year away from ending his journey and returning to Wano where he would dance naked for 5 years.
He was in his prime or extremely close to it.
Uh? Oden isn't weaker than Linlin. He rivaled a 39 year old Kaido and Kaido still believes Oden could kill him up to this day.
If Oden is portrayed relative to Kaido who's stronger than Linlin, what does that tell you about Ray who's stronger than Oden?
There's a huge difference with having adv CoC and not having.
Luffy was able to give proper fight to Kaido only after he got adv CoC few minutes ago.
And yes Oden was physically pretty much in his prime even at the end of his journey with WB, the only PU he got after joining Roger is the utilisation to adv CoC that alone makes a huge difference in strength, it's like you reach whole new lvl interns of AP.
Oden couldn't tag along with Kaido interms of normal clashing, he gets thrown back around, only after using his adv CoC he gain the advantages. If the past Oden who can't use adv CoC fight Kaido, he won't even stand a chance.
That's why having adv CoC makes huge difference even if Oden keep dancing 5 years.
And yes Rayleigh even with all his crewmate fighting together can't even dominate those teenage Whitebeard commanders + no adv CoC Oden, then there's no way he is equal to prime Shiki, Linlin and Kaido who could potentially solo all of them.
And there's no evidence of Rayleigh being stronger than strongest version of Oden.