no, they should pay maternity leave if you work more than 3months completely and do not quit for any reason they given. if you are PR/Singaporean company shall pay maternity leave whether or not they confirm . you can go MOM website find out and any dispute matter can escalated, but you need to have very very solid evidence they made you discrimination due to your pregnancy