Yes, but also he was one point away from sealing the match. And at Wimbledon Djokovic made the very fatal mistake of underestimating Alcaraz.
When I see Wimbledon 2023, it reminds me of Federer USO 2009, both were riding high of getting the slam record and both in a way were becoming victims of their own sense of perceived invincibility. Djokovic didn't expect the match he got and that is on him, there is no way he will ever let his guard down again.
Now, can he be simply outplayed by Alcaraz in USO? Yes, he can. But will he go in underestimating Alcaraz again, no chance. Plus Alcaraz didn't lose a set in the quarters or semis, so while he played two decent players, outside of the first set against Rune, lets be honest, he faced very little resistance. Medvedev just rolled over in the semi.