One of the issues with having much more resolution is that the camera is less forgiving in any shortcomings in the lens.
A lens I used with my D50 is the old Tamron 17-50 2.8. Not perfection of course but it's a highly rated budget lens and once you know its weak points you can get some really decent results and makes an ideal travel lens.
So I decided to get one - had to get another as a lens focus motor is required for the D3500. Found one in mint cosmetic condition but my test shot of a brick wall exactly front on to me revealed horrendous softness down both edges of the image, not just the corners - that was at 35mm f9 - can you imagine how bad it would have been at 17mm f2.8!! No pixel peeping required, it just stared you in the face. So that had to go back of course. Managed to find another mint, boxed example. This one was better - only one edge was soft, LOL - still totally unacceptable, so that had to go back too.