When Jesus reaches the vicinity of Bethany, John states that Lazarus has already been in the tomb four days. The detail is repeated later when Martha warns about opening the grave.
The chronology deliberately removes any impression that Jesus has arrived during an uncertain medical crisis.