Her first attempt is
absolutely irrelevant and would only matter if the pursuit of her legal career ended with that failure, but as we all know it did not:
The bar exam is notoriously difficult, and many people do not pass it on their first attempt. The pass rates vary by state and exam, but on average, about 20-40% of first-time takers fail the bar exam depending on the jurisdiction and year.
For example, in California, which is one of the most challenging bar exams in the U.S., the pass rate for first-time test takers in recent years has hovered around 50-60%, meaning 40-50% of first-time takers fail. Other states with easier exams may have higher pass rates, but even in states with more lenient exams, it's common to see about 20-30% of first-time takers not passing.
Failing the bar on the first attempt is not uncommon, and many successful attorneys, including some who have gone on to hold high-profile legal or political positions, have had to retake the exam.