Suppose I know that the following equality holds: $$ \sum_{x} A(x)C(x) = \sum_{x} B(x)C(x) $$
Can I conclude that: $$ \sum_{x} A(x) = \sum_{x} B(x) $$
Suppose I know that the following equality holds: $$ \sum_{x} A(x)C(x) = \sum_{x} B(x)C(x) $$
Can I conclude that: $$ \sum_{x} A(x) = \sum_{x} B(x) $$
From
$$\sum_{x} A(x)C(x) = \sum_{x} B(x)C(x)$$
you can conclude that
$$\sum_{x} [A(x)-B(x)]C(x) = 0\tag{1}$$
But from this you cannot conclude that
$$\sum_{x} [A(x)-B(x)]= 0\tag{2}$$
That is, you cannot conclude that
$$\sum_{x} A(x)=\sum_{x}B(x)$$
If (1) implied (2) then, logically it would also imply
$$\sum_{x} C(x)=0$$
But clearly, that is not the case.