Finally, Gandalf thought that putting a Hobbit in the company would prevent Thorin, who did not think much of Hobbits and doubted Bilbo's skills, from doing anything rash, such as openly confronting Smaug.