Das ist wider meine Religion.

Is there a major difference between “wider” and “gegen”? Could you also use “gegen” here too?