Complex sentence: Three years later he left the army, longing to devote his whole life to Christ, and headed towards the desert to live a different kind of life.
Split into simpler sentences: Three years later he left the army longing to devote his whole life to Christ. He headed towards the desert to live a different kind of life.