I have both, I shoot birds and wildlife, and I'm thinking about selling the 7DII. If you are interested, check out birdphotographers.net and look for Arash Hezeghi's thoughts on the 5DIV vs 7DII. In short, the AF is far more reliable in the 5DIV. The 7DII is known to have a "twitchy" AF and in my short experience, the 5DIV AF yield far higher yield rate of in focus images.
The only issue I find with this is that it doesn't fit my experience with my 7D2 which I have been shooting with since November 2014. The AF is not twitchy. Also, I have been shooting with the 5D4 this week (from Canon CPS) and I don't find the AF yield any higher. In fact, since all the AF squares are crammed into the center compared to those on the 7D2, the hit rate might be lower. The IQ on the 5D4 is great though and compared to my 6D, the 5D4 is certainly a big plus and worth adding to the kit. But I think there are those who have good 7D2 and there are those who don't, and thus it depends, when comparing to the 5D4. Certainly, if you don't have or want a 600mm f/4, the 7D2 (if it works) is a worthy option since you can get the 100-400 m2 or the 400 f/4 DO2 as to use with the 7D2.