This text is a paraphrase of the final segment of a wisdom psalm, Psalm 73:23-28 (for general comments on this psalm see PHH 73). The versification of the text (usually one biblical verse per stanza) is a revision of that found in the 1912 Psalter.
"In Sweet Communion" sets forth the joy of walking closely with God (st. 1 and 5), following his directives (st. 2), shunning earthly distractions (st. 3), and experiencing his comfort and power. The final stanza proclaims the wisdom theme of the psalm: "To live apart from God is death; 'tis good his face to seek."
Psalter Hymnal Handbook