谷の間を川が流れている。

English Translation

A river runs down through the valley.

Shouldn’t the “を” here be “に”, or is it fine in this context?