All's fair in love and war

Does anyone know the origin of the phrase "All's fair in love and war". Is there a literature background? thanks

Replies