Having an OSHC policy covering the entire period of your student visa is a prerequisite for getting the student visa itself.
Therefore, if you are applying for the international student visa - 500, you need to purchase OSHC - Overseas Student Health Cover.
For more information, please refer to the below articles: