The core problem is the poorly managed war; Wagner'd be unlikely to rebel if the war was going well and everyone was satisfied with the Russian leadership.
I agree with your perspective that certain aspects of the war weren't managed well by Russia, but disagree that war isn't going well for Russia - they appear to have achieved 80% of their strategic objectives by annexing Crimea and bordering areas of Ukraine, and holding on to it while Ukranian counter-offensives have failed to dislodge the Russians. In fact military experts in both US (Ukraine’s Chances of Victory in 2023 are Vanishingly Small - https://www.19fortyfive.com/2023/06/ukraines-chances-of-vict... ) and India (Final Battle In Russia-Ukraine War? - https://youtu.be/D0oA-Y5eTs4 ) agree that the chances of a Ukraine counter-offensive being successful are quite low.