Here is what Jesus says.
I tell you, on the day of judgment men will render account for every careless word they utter; for by your words you will be justified, and by your words you will be condemned. (Matthew 12:36-37, RSV2CE)
Nothing is said here about sola fide. Instead Jesus says we will be justified (or not) based upon our words.
Let us be generous and concede that this passage does not eliminate the necessity of faith. But another thing it flatly doesn’t do is teach justification by faith alone. What we do and say matters for our eternal destiny, even for Christians.