sentence: In the majority decision , Justice Anthony Kennedy wrote : `` The federal statute is invalid , for no legitimate purpose overcomes the purpose and effect to disparage and to injure those whom the state , by its marriage laws , sought to protect in personhood and dignity . ''