Officer and a gentleman
This phrase is attributed to Rudyard Kipling Under the Deodars (1888) “He became an officer and a gentlemen, which is an enviable thing.”