Must love God to be CTO?

I just read a job ad for a CTO that listed the following as a requirement for the position:

“Must be committed to offering excellence to God in all you do”

I am not sure, but isn’t it illegal to discriminate based on religion when hiring?