The purpose of the bi‘that is to let God rule over the hearts and the society.
Sahifeh-ye-Imam, Vol.14, page 339