Its earliest recorded uses appear in the 1820s. It is based on the idea of 'win' meaning 'gain' or 'obtain', as in "He won his commission during the war." Thus, a breadwinner is someone who works to obtain the money necessary for him and his dependants to live on.