Obedience to God is key to drawing close to him.