All writing is thinking when done by a human, you’re literally distilling your thoughts into words. You can’t write without thought.
And not all thinking is writing is a clear truism, there’s no point to even stating that.
Writing helps us think about the world, it’s a pivotal intellectual technology.