I meant in the sense that making a deal with the Devil would be considered a sin in many religions and, by so doing, Peter is damning himself.
But since a person's marriage is a very precious thing to the person, I'd still consider it a selfless act. He's putting the life of an innocent ahead of his own true happiness.