“Deeds are judged by intentions” we often hear this beautiful quote.
Yes, right deeds are judged by intentions but this applies to the halal deeds and not the haraam ones.
Like for e.g even doing good through halal ways, it matters for whose sake we are doing good-
A- to seek world’s attention
or
B-for HIS pleasure.
So intention matters.
But doing good through haraam ways thinking and intending for HIS sake and pleasure is nothing but devil’s deception.
Assalamualaikum.