Roughly the angular reolution of a telescope is 1.22*wavelength/diameter. See https://en.wikipedia.org/wiki/Angular_resolution. Hubble uses visual light (0.5 um wavelength) while JWST uses IR (5 um wavelength) and beyond. So the wavelength for JWST is 10x larger than Hibble, but the diameter is only ~2.7X (Hubble 2.4m vs JWST 6.5m dia). So JWST resolution is 1.8x worse than Hubble.