sometimes he was rich , but he had difficulty in holding on to his wealth , and whenever he had become wealthy he discovered that the world frowned on rich men eating in hobo jungles at the back of the railroad , or consorting with the winos in the park , so he would fritter his wealth away as best he could .