That’s not the same thing.
Tax loss harvesting is real, you just time when you take a loss to offset a gain. Then immediately reinvest. You haven’t lost any money in total, you can just claim the loss on your taxes (but will pay higher capital gains in the future).