It comes down to what you value. Mario is the more consistent platformer, with tighter level design and a longer run of acclaimed entries. Sonic's whole identity is speed, and when a game gets that right, nothing else feels quite like it.
Neither is objectively a "billion times" better — they're built around different pleasures, and most people end up loving both.