The repetitive breaking of needles is frustrating and can be prevented. The most common cause of breaking a needle is actually not allowing the machine to do the work. As sewers, we need to be more conscious of pushing and pulling our fabrics through the feed dogs. If you are physically over controlling the fabric, this pulls the needle out of position and it will easily break.
Other things that commonly cause needle breakage are hitting pins, or using the wrong size of needle for the type of fabric or application. When a needle breaks, it can damage the needle plate and hook. It can also create burrs, which will then cause thread breakage.
If you have checked everything mentioned, it's time for a machine check-up.