as the boat pulled away from the dock , joseph looked wistfully at his city , leaned on the main deck railing and said to william clayton , i tell you william , it tears at my heartstrings to leave emma and the children like this .