2.3 Linear Algebra

https://d2l.ai/chapter_preliminaries/linear-algebra.html#dot-products
Why does the weight in the weights vector need to be non-negative in order for a dot product to be expressed as a weighted average? I get that sum should be one for the weights vector.