If you're not generally outperforming a Rogue as a Ranger inn BG3, then you're probably not playing very optimally or you're just not paying enough attention to what the Ranger actually did.
Rogues aren't "bad", but Larian made the Ranger very good at being a Rogue and that is proving a bit problematic.
Sorry, I still don’t get it! I get that a ranger can be more effective in combat than a rogue, but don’t understand why that constitutes being a better rogue than a rogue. The ways in which a ranger plays in and out of combat have some similarities with a rogue but still feel to me quite different, with different strengths and weaknesses.
Is your argument that the defining feature of a rogue is DEX DPS with various skills, and ranger can be a better DEX DPS than a rogue and can get quite a few skills with the right picks too? Or am I still missing something?