"You Can't Get a Man with a Gun" is a song from the 1946 musical Annie Get Your Gun, by Irving Berlin. It was originally performed by Ethel Merman.
In the song, Annie Oakley sings about how a girl with talent as a sharpshooter nevertheless finds that her abilities do not help her attract men. She introduces herself with: "I'm quick on the trigger/with targets not much bigger/than a pinpoint I'm number one." The song is humorous in that she imagines different scenarios in which shooting a man will not make him fall in love with you, e.g. "A man may be hot/but he's not/when he's shot/oh, you can't get a man with a gun!" and "But you can't shoot a lover,/and use him for a cover/oh, you can't get a man with a gun!".