The whole story is very like David in the Bible. He is a shepherd that is asked to come and fight something and it is a dragon instead of a giant, but still an impossible enemy. And he uses his brain to win instead of just being the biggest and strongest. And David in the Bible is a shepherd boy who then becomes King which is like what happens to Charming.