Why did mansa musa travel across Africa to mecca?

You see mansa musa went to Mecca because of his hajj which states that every Muslim has to travel to Mecca at least once in his or her liftime.