The problem is that Juventus is not handling their players well. They have made some good transfers but they have turned out to be a little questionable over time. Recently the decision of letting Dybala go is also not a popular one.
Do you mean they sometimes decide carelessly regarding player transfers?
In Dybala's case, he is no longer interested to play in Juventus, why does Juventus need to keep a player with no motivation to play? I think letting Dybala leave is the right way, but Juventus should find a new player that can fill his position properly. There is still a lot of time before the next season begins, I am sure Juventus will find out a new player that has a similar capability to Dybala.
I think it's just a matter of team cohesion, Massimiliano Allegri must be able to restore the confidence of the players.
The question is "when it is"?
It is not an easy job to restore the players' confidence.
Allegri may spend some seasons to return the player in the best form.