I think it is part of the solution. But it's not a magic wand. Biden's latest unrealized gains proposal would generate about $150B per year extra in income. So not this will not fix the deficit on its own.
Raising taxes millions and billions will not pay for trillions.