It was just a matter of time. The PC/Mac/Linux gaming is already digital only. The games, that came out on DVDs in the past decade were already been connected to a Steam or other stores (EA, Ubisoft Store etc.), you could not install them/finish the install, if you didn't link them to an account. That did also mena, that one could not sell the used games anymore. The used PC games market after 2010s was more or less dead for these then new titles.
In the later years, there were no DVDs anymore in the package, just a printed code inside the small paper box.
And now the console gaming world is going that same route.