Have the right-of-way

To have the right to go before another car or turn before another car turns.

The small car had the right-of-way but it was hit by the large truck anyway.