You’ll prob find the accidents usually occur with obscure low cost airlines from developing countries whose maintenance operations aren’t as thorough or stringent as the larger national carriers. Almost every accident (barring the latest Max incidents) happen on older 737’s using older engine models. The kind of planes that still have filthy ashtrays on the seats. Those airlines scrape on operating costs by limiting the amount of maintenance which ultimately lead to accidents. Ryanair have been using a fleet of 737-800s for years and have an unblemished safety record, mainly because that aircraft is easily the most reliable aircraft there is considering the age of the class. The A320s will soon out perform them but I wouldn’t have any hesitation getting on one atm, especially with a major carrier.