often times there is simply no way( when objects are close by and big) to have the entire object in focus.
This is why, long ago, photographers learned to use movements of the lens (and ideally also of the back) called tilt and shift , to move the focal plane is a position other than parallel to to film or sensor plane.
In order to achieve this you need to learn how to use that or otherwise you could back up a bit and then crop a section of the image. Sometimes this is needed even if you master the Scheimpflug principle
This Image is shot at f8 with a tilt adapter. No cropping.
the popular expression wishful thinking is an oxymoron!
To all TAPATALK users
As a form of courtesy towards your fellow users of this forum, PLEASE remove the obnoxious tapatalk signature, it adds nothing to anyone’s contribution and it is only a sneaky way used by tapatalk to push their product by polluting each forum participant with promoting their products with unpaid advertising for their software and the brand of your phone. Removing it is easy and it is an act of courtesy that shows respect for all those whom are annoyed by this pointless feature. This is not a personal attack to you, the annoyance is caused by tapatalk and the phone or tablet brands, they are getting all the exposure and you gain nothing by this.