Wenchang pavilion is an academic venue for scholars to enshrine and worship Wenchang God, who is in charge of scholarly honor and official rank. In feudal times, before imperial competitive examination many scholars would come to Wenchang pavilion to pray for successful academy and career.