If you hide the Jewish person from the NAZIS who want to kill her, then by your definition of society says morality, your defiance of your society's orders would be immoral.
Cordially,
Hidng and transporting the Jewish person to another country is a different thing.