As Spock worked to complete the Kolinahr on Vulcan, his mind was touched by V'ger causing an emotional reaction. Thinking if he could observe a being of such immense logic he would get the answer of how to completely erase all emotion from himself.
It didn't work. In fact, it allowed him to understand he could embrace both sides and still be a Vulcan.