True. Mars is a "cursed" planet though. European lander has failed there also. NASA really knocked it out of the park with the rovers. They're the only ones who know how to really do it properly.
Sure those failures were during NASA’s faster, better, cheaper era . I would argue that these failures led to cultural change at NASA that has led to their tremendous success during the last 20 years.
NASA has had many more missions overall and their success rate is quite good compared to other agencies.