DPI and JPEG quality are independent, and confusing them wastes effort
Downsampling changes how many pixels an image has. An image placed in a 4-inch-wide slot on the page at 600 DPI carries 2400 pixels across; capping it at 150 DPI resamples it to 600 pixels, and the discarded pixels are gone. This is the lever that matters when a phone photo was dropped into a document at full sensor resolution.
JPEG quality changes how precisely the pixels that remain are described. At a lower quality setting the encoder is permitted to be more approximate within each block of the image, which shows up as blocking in smooth gradients and as halos around the hard edges of text inside a screenshot.
Because they act on different things, they fail differently. A high-resolution image at low JPEG quality is sharp but mottled. A heavily downsampled image at high JPEG quality is clean but blurry. Diagnose which of the two you are seeing before you reach for a slider, or you will turn the wrong knob.