You’re definitely not broken. Endometriosis is best treated by progestin-only birth control, as opposed to combo (progestin + estrogen), since estrogen feeds endometrial growth. They can also enable you to skip periods entirely. A hormonal IUD could be a good bet; they use levonorgestrel, same as your pill had, just a lower dose and no estrogen. There’s also the implant, a number of mini pills, or the shot (last resort). Did you have any side effects, or it just didn’t work as intended?