Jamal is experiencing Cognitive Dissonance.
Cognitive Dissonance refers to the mental pressure that someone has because they currently have to experience two or more values that contradict each other at the same time.
By taking the job, Jamal know that he will increase the likelihood of him doing something that is opposed by his personal value.