Kompany is not qualified to be the coach of Bayern Munich in my opinion.
Bayern's primary goal has always been the Champions League. Bayern is already champion in every way in the Bundesliga. Look at the last 20 years. The teams that have been champions other than Bayern are Dortmund and Leverkusen. These two teams came to my mind first. Their championship total is already known.
That's why Bayern always sets the Champions League as their primary goal but they can't reach this goal with Kompany. Also, Bayern Munich doesn't have any quality forwards other than Kane right now. Musiala was injured yesterday. They need to get a very quality forward urgently.
They will finish the league as champions again but the squad is not enough for the Champions League.
Your logic don't match with the fact. If Kompany was not qualified to be Bayern's coach. They would not sign him as a coach. Simple as that.
They're looking for a coach that could suit them well whether it's on UCL or domestic league.
They have tried by sign Tuchel as a coach, who has UCL quality, but still failed. That proves winning UCL was not easy as you said even after they signing one of world class coach who have won UCL.