This is increasingly becoming less true as more people purchase the "digital only" version of most of their games. I haven't purchased a boxed copy of a game in many years, both on my consoles (PS3/PS4 + Switch) and my PC (Steam/Origin/Blizzard stores, etc). The only feasible way to resell a game tied to one of these digital accounts would be to sell the entire account.