Social Security taxable threshold income level

Married filing jointly Both retired. Wife started collecting social security benefits in 2018 for a 9 month period and received about $6400.  I received a private pension of $25k and also took $11k in 401k distributions. (401k is fully taxable). 50% of wife's social security became taxable by Feds. Is the passive income I received from my pension and 401k counted toward the earned income threshold limit making social security taxable? I know that for a married couple if you earn between $32k & $44k combined that half your social security benefits become taxable but neither of us worked in 2018.