JPEG quality can probably be better (but slower) when using sophisticated decoder libraries. This way, a JPEG image with a WebP size may look with the same quality. But I didn't test.
https://news.ycombinator.com/item?id=22245788
Also, Google has a "brunsli" library, that can recompress JPEG to JPEG XL format without loss.