"But he who looks into the perfect law of liberty and continues in it, and is not a forgetful hearer but a doer of the work, this one will be blessed in what he does." (James 1:25; NKJV)
If you would draw near to God, "receive with meekness" His word (James 1:21).
Be a doer of His word (James 1:22, 25).
Be blessed with His nearness through obedience.