Little about Depth for field
If I was set f3 it be shadow depth of field to be good if don’t want a large area in focal like a portrait for example.
If was shoot at f7.1 you will have a larger depth of field.
if I was shooting at f14 you will have an even larger depth of field.
If I close off to f22 I have an even larger depth of field why not just shoot at f22 well it close more narrow aperture so less light going through a lens so if I was shooting a landscape I properly use f14 for faster shutter speed or exposure.