Just a thought Adams sin was the tree of knowledge go good and evil when he ate he had the flaw of knowledge of evil. Torah rectifies this flaw. A proof could be seen by har Sinai bu the first luchos klal yisroel didn't have to struggle to learn it was given bc they rectified theflawof knowledge. The second luchos klal yisroel had to struggle to learn. Therefore by learning Torah we rectify the sin. In particular wasting seed is directly connected with the daas. The evil the flaw of knowledge when one learns Torah he rectifies the flaw of knowledge. May we merit to overcome the evil and rectify this flaw and bring mashiach!!!