WRONG
A variety of factors can cause epilepsy including head trauma, stroke, brain tumour or lesion.
In large majority of cases the cause of epilepsy is not known. However known causes include: head injury (from a fall or accident), brain tumour or lesion, brain injury during fetal development, birth trauma (lack of oxygen during labour), infectious disease such as meningitis, encephalitis, measles, poisoning from substance abuse, any abnormality in the brain and genetics (although most types of epilepsy develop without any family history).