No he is not a theif in that story
It's a little messed up. Jack and his mother are stricken by poverty. He takes the cow to the market and trades her for five magic beans. His angry mother throws the beans out the window. The next...
Jack kills the giant and gets to live in the castle with his mother.
frogcatdoghorserabbitpoppyand a bean:-)
The Giant.