The Quran says that pilgrimage to the House is a duty owed to Allah by mankind, for whoever can find a way to it. The Prophet Muhammad ﷺ addressed the people: 'Allah has made Hajj obligatory upon you, so perform Hajj.' A man asked if it was every year, and he was silent until the man had asked three times; then he said, 'If I said yes, it would become obligatory, and you would not be able to do it.' So it is required once, for those who have the health and the means; whoever cannot is not asked to.
Its meaning has several layers. It remembers the faith of Abraham, peace be upon him, who called people to worship One God, and the Quran tells him to proclaim the pilgrimage to mankind, and they come from every deep valley. It is also a time of forgiveness: the Prophet ﷺ said, 'Whoever performs Hajj for Allah and does not behave obscenely or sinfully returns like the day his mother gave birth to him.' And the Quran says there is no obscenity, wrongdoing or arguing in Hajj. On the day of Arafah, he said, Allah frees more people from the Fire than on any other day.
Hajj is also a lesson in equality. Kings and labourers, people of every colour and language, wear the same plain clothes, stand on the same plain and say the same words. The Quran also mentions the benefits people witness, and the sacrifice, whose meat is shared with the poor. For a non-Muslim reader it can be understood as a rehearsal of standing before Allah: nothing but the person and his Lord.