Literally every one would have been grounded had the FAA grounded the type after 2 accidents.
The first crash of the 777 occurred 15 years after it was launched with 1500 aircraft delivered, and even in that crash foul play is suspected.
The first crash (ignoring hijacking) of the 767 occurred almost a decade after it was launched, and the second was almost two decades after launch, and it's still not clear if it was suicide.
2008 British Airways Flight 38: 47 injured https://en.wikipedia.org/wiki/British_Airways_Flight_38
2013 Asiana Airlines Flight 214: 3 fatalities, 187 injuries https://en.wikipedia.org/wiki/Asiana_Airlines_Flight_214
2014 Malaysia Airlines Flight 370: disappeared https://en.wikipedia.org/wiki/Malaysia_Airlines_Flight_370
2014 Malaysia Airlines Flight 17: hit by anti aircraft missile https://en.wikipedia.org/wiki/Malaysia_Airlines_Flight_370