Or, "he entereth into peace"; in contrast to the persecutions which he suffered in this world (Job 3:13, Job 3:17). The Margin not so well translates, "he shall go in peace" (Psa 37:37; Luk 2:29).
rest--the calm rest of their bodies in their graves (called "beds," Ch2 16:14; compare Isa 14:18; because they "sleep" in them, with the certainty of awakening at the resurrection, Th1 4:14) is the emblem of the eternal "rest" (Heb 4:9; Rev 14:13).
each one walking in . . . uprightness--This clause defines the character of those who at death "rest in their beds," namely, all who walk uprightly.