It ain't the bike It's the engine
Think of wheel size as a fit thing first, I'm 5' 11" with a 32" Inseam and I do better on a 27.5"
I had a 29er and it was great but the smaller, lighter wheels of the 27.5 Is what helped me the most.
Your ultimate solution, Is N+1,
N= the number of bikes you currently own .
As for the +1, use caution,,, I am at 3, If I go for the +1 my wife may make me sleep In the Garage