Right
聿 supplies the sound, drifting yù → jīn through significant historical shift.
聿 itself pictures a hand holding a brush, the ancestor of
笔. Pure phonetic, faint flavour: split bristles touching paper resemble a foot poised at the river's edge. Family:
律,
笔,
建 — all built on this brush-stroke etymology.