Are We Responsible For Our Thoughts
We are only accountable for our deeds. The verse is related to the hidden sinful acts that are only known to a person. This also goes for good acts and a persons intention behind them. If someone is apparently very charitable but in his mind the charity work is to show off his wealth and win elections.