Wiktionary
defeat the purpose
vb. to be against the purpose of something, to nullify the purpose of something