Is a touchdown better than a safety?
Even if a safety gets you the ball back, it's still not as valuable as a touchdown. The typical drive is worth 2.1 points, meaning safety is worth around four points on average. Safety is worth around three points less than a touchdown after the post-safety drive.