Conservative crossbench MP Fred Nile has introduced his private member's bill to abolish school ethics classes, arguing the course is based on a philosophy linked to Nazism and communism.

The Christian Democratic Party MP told the upper house his bill would abolish ethics classes in public schools at the end of this school year, saying that with just 2700 students enrolled, the program had been a failure.

Ethics classes were introduced by the former Labor government as an alternative for children who did not want to attend traditional scripture classes.

The Reverend Nile provoked anger among Greens and Labor MPs when he said the "dangerous" secular humanist philosophy taught in the ethics course had led to the worst atrocities committed during World War II.

"It's relative ethics, which is the basis of secular humanism and I believe ... this is the philosophy we saw during World War II with the Nazis and with the communists," Mr Nile told the Legislative Council today.