What connects the travel and rites of Hajj to goodness in the explanation taught?

Quality of the Commanded Act: Intrinsic and Dependent Goodness