You don't need shoot at f/22 to get everything in.
If you'd shot at f/11 and aimed at the titled grave stone behind and to the right of the Cross, you'd had enough depth of field.
Remember your depth of field is about 1/3 in front and 2/3rd behind your focus point, so if you think about shooting this at f/11 you can see how this would work.
Never go past about f/11 on a cropped DSLR.