Yours, Etc.: Origins and Uses of 8 Sign-Offs
1958, used of various pessimistic aphorisms. If there ever was a real Murphy his identity is lost to history. Said to be military originally, and probably pre-dates the earliest printed example (the 1958 citation calls it "an old military maxim").
A rule that states, “If something can go wrong, it will.” An addition to this law reads, “and usually at the worst time.” The identity of “Murphy” is unknown, but the saying was first used during the 1940s and may have originated with members of the armed forces in World War II.
The supposed principle that if anything can go wrong, it will •Called ''an old military maxim'' in the earliest known printed example (1958+)