the behavior suggest that: He is willing to do anything to achieve his goals.
Gareth realized that someone with a background like him is almost impossible to enter knighthood.
He took the job because he wanted to get Close to King Arthur and he eventually notices Gareth Value and potential.