Your photo of the barn is focused pretty much as I'd expect it to be using a 60mm lens and f/5.6 aperture, when a center AF point (or multiple center AF points) is used. There's a fall off in focus along the door side of the barn, increasing toward the background. The peak of the roof of the barn in the far left is also soft. In other words, things more distance from the point of focus gradually lose focus sharpness. Further, if you look at the very bottom of the image, closer to you, there's also some loss of focus sharpness.
This is natural Depth of Field (DoF)... What might be expected when the hyperfocal focusing point is on the longer wall of the barn. There is a "plane of sharp focus" parallel to your camera's sensor, with gradual loss of sharp focus both closer and and farther from you.
Stopping down some more would increase DoF.... But doing so risking increasing overall loss of fine image detail to "diffraction". That's an optical effect caused by smaller apertures. See links below for more info. But the basic idea is that while a smaller aperture increases DoF, unfortunately it also causes more diffraction that will rob the image of fine detail. The "diffraction limited aperture" of a 24MP, APS-C camera is approx. f/6.3... and you're already at f/5.6 in this image. However, the loss to diffraction is very little at first, so you would probably be fine using f/8... maybe even f/11.
One solution here would be a smaller aperture, increasing depth of field.
Another solution would be to "focus stack" multiple images.... This involves taking two or more shots focused to different distances, then combining the shap portions of each.
Another solution, possibly combined with the smaller aperture, would be to change the hyperfocal focusing point. In this image, for example, if instead of focusing on the closer, large, flat side of the barn you had focused on the shorter side, right near the closer edge of the doorway... in other words, focused a little further into the image... you would have "moved" the plane of focus to encompass both the closer and more distant portions of the barn.
Another solution would be to use a shorter focal length lens, which would naturally increase DoF at any given aperture.
In this case your lens might be "front focusing" to some extent (it's a bit hard to be certain, because you've apparently cropped this image quite a bit). Usually the plane of focus falls more behind the point of focus (hyperfocal distance) than in front of it, or closer to you. Looking at this cropped image it's difficult to be certain, but appears focus might be biased a bit closer to you. If so, that's the opposite of what should be happening. And your 80D has Canon's Micro Focus Adjustment feature (MFA), where you can correct any front or back focusing tendency that's occurring with a particular lens. See the manual for info how to use that feature... but basically it's just a matter of setting up some careful tests and dialing in some adjustments. Once set, those are retained and will be applied to that lens any time it's used on the camera.
Be careful doing MFA to this lens, though... since it's a macro lens. If you use primarily use it for macro and close-ups, tweaking the focus for more distant objects might mess with the accuracy at very close distances. Depending upon how you typically use the lens, it might be better to optimize it for close up work.
MFA applies only to the viewfinder-based, 45-point AF sensor array. That's one of your DSLR's two distinct AF systems. If you use Live View's Dual Pixel AF (DPAF) instead, it doesn't require MFA because the focus sensors are embedded directly in the camera's image sensor.... there's no way for them to "out of calibration", the way the viewfinder's AF system can. In other words, if you normally use Live View for macro shots and the viewfinder for more distant shots with the lens, you don't need to worry about MFA "messing with" the lens' close focusing accuracy if you tune the lens for best performance at non-macro distances. Conversely, if you use Live View for the distant shots and the viewfinder for close-ups, you might instead choose to use MFA to fine tune for the close work.
Here's a DoF calculator that has also has some info about hyperfocal focusing distance:
https://www.photopills.com/calculators/dofAnd here's some more explanation of diffraction:
https://www.cambridgeincolour.com/tutorials/diffraction-photography.htm