Amalek Ideology
Question
I had embraced the ideology which is very similar to the philosophy of Amalek for 2 years in early 20's. There is no God, everything happens coincidently, morality is relative, and so on. I only recently knew that those ideas are very disgusting in the eye of HaShem. I really didn't know that that's so harmful. Now I firmly believe that HaShem runs the world, and there is the Divine purpose behind everything. What shall I do to be forgiven for my sin of believing philosophy of Amalek? What shall I do?