Thinking is behavior. The muscular habits learned in overt speech are responsible for implicit or internal speech (thought).
I'm not afraid of storms, for I'm learning how to sail my ship.