Are you kidding me? Loopholes like that don't exist. The tax code starts from the assumption that you owe them money, but for very specific reasons allows you to deduct or credit from that amount owed. They simply do not naively put in deductions that shouldn't be there. The idea that "loopholes" are unintentional vulnerabilities is completely disconnected from reality.