In Talmudic literature, ha-satan's function is to strengthen man's moral sense by leading him into temptation.