In seeking God through direct contact with His word, prayer and meditating in and on His word daily, we will draw nigh to Him, and He to us. By us mimicking Him, we began thinking His thoughts after Him, desiring those things in which He desires, loving what He loves, hating what He hates. Remember that David was a man after God's heart, seeking to please Him.