Content writing is important when creating a website because it plays a crucial role in attracting and engaging visitors. Well-written and relevant content helps to convey the purpose and message of the website, establish credibility, and improve search engine rankings. It also helps to keep visitors on the site for longer periods of time, which can lead to increased conversions and sales.