The result of a sinful act is not counteracted by performing a pious deed. It can be nullified by atonement or by undergoing its reaction.
Your email: