The steps for getting there are equally clear. The tempter must be resisted, Ephesians 4:26,27; 6:11; I Peter 5:8,9. Sin must be abandoned, laid aside, and left alone, John 8:11b. And, above all, being with God must become a commitment, an obsession, a lifelong quest, Psalms 73:28; Hebrews 10:19-22.
This is our goal, to draw near to God. Ed Mathews's devotional describes it beautifully, with Jas 4.8 as base text today.