Legal fee for taxable income SSDI

I had to fight for Social Security Disability and hired an attorney. I won and received taxable income in 2020 above the AIG allowed for disability so its fully taxable. It will not allow me to write off the legal fee in TT for recovering taxable income in 2020..   It says My AIG is to high to allow the write off. Chicken and egg,   Help?