"I got into my Figaro-mood, judging it to be the only merit of these grandees that they had taken the trouble to be born"

    Freud refers to a line from the final act of Pierre Beaumarchais' drama The Follies of a Day, or The Marriage of Figaro (1778), later adapted into an opera by Wolfgang Amadeus Mozart.  Expressing the general feeling of the play Figaro, valet to a powerful nobleman who covets his fiancée Suzanne, disparages the very idea of inherited nobility:

"Because you are a great Man, you fancy yourself a great Genius.—Which way?—How came you to be the rich and mighty Count Almaviva? Why truly, you gave yourself the Trouble to be born!"

 

Online script of the play, as translated by Thomas Holcroft (1785)