I myself am actually quite confused with Juventus because indeed they are sometimes very strong and sometimes also weak in performance, they do not have consistency in their best performance so that is what prevents them from getting the first position, but of all Juventus are very strong and can even beat Inter Milan if they are in their best performance.
Juventus just lacks the best players so they cannot compete with Inter Milan. This is the cause of Juventus' inconsistency in the title race this season, because Inter Milan is quite better than Juventus this season and it is certain that Inter Milan will win the title this season and Juventus must accept that, but even so, Juventus' task now is to ensure they can finish in the top four of the current standings in order to get a UCL ticket next season.
Recently, it is true that Juventus has not been very good, often experiencing bad results in their last few matches. If they continue to let it happen, Juventus will be eliminated, because Bologna and Roma could move Juventus out of the top four of the standings. Allegri has an important task at this time. This is to convince the Juventus players and increase their self-confidence so that they can play even better and optimally to be able to get full points and be on track to win until the end of the season. Since their failure to maintain their position at the top of the standings and the defeat against Inter Milan at that time, Juventus has not been doing well since until now.