I don't think that's true. The US has used tax laws as a way to effect policies since before Turbotax existed. I think the mortgage interest deduction goes back 100+ years
The mortgage interest deduction was an accidental side-effect of pro-business regulation, and it doesn’t advance any reasonable societal goals. It’s effectively a regressive tax break, the richer the beneficiary the larger the tax break, up to ordinary 7-digit millionaire.