I can share some general insights on this matter.
The concept of forgiveness and spirituality can vary depending on one's religious beliefs and practices. Different religions have their interpretations of forgiveness and how it applies to various actions, including intrusive thoughts.
In many belief systems, the idea of forgiveness is rooted in the understanding that humans are not perfect and can experience negative or intrusive thoughts despite not intending to have them. These thoughts may be involuntary and not a reflection of your true character or beliefs.
If you are struggling with guilt over your intrusive thoughts and feel the need for forgiveness, consider reaching out to a religious or spiritual leader in your faith tradition. They can offer guidance, support, and reassurance about your concerns based on the principles and teachings of your religion.
Remember that it's essential to treat yourself with compassion and seek support from understanding individuals, whether from your faith community or mental health professionals, to navigate through feelings of guilt or distress related to intrusive thoughts. If these thoughts are causing significant distress or impairment in your daily life, consider talking to a mental health professional who can provide guidance and support tailored to your specific needs.