Out of the over 1000 Boeing 787 airliners that have been built since 2011 when the type was introduced, approximately 0 (Zero) have crashed. It is perfectly safe to fly any Boeing aircraft including the 737 Max 8. also the 787 and 737 are entirely different aircraft.