How past efforts and losses might affect your decisions today