His motivation was to protect his hebrew brothers, his character thinking he could kill and get away with it, and he did not seek the face of God before he reacted he thought he was in control of anyone who did wrong that was not of his decendant, or him growing up in the palace.