What they said.

Bet a bit more preflop.

I don't mind the play on the flop- you want to string him along and hope that the scare card like the 10 does not show up.

You must have the sense to lay down the set on the river facing that bet and that board.

Don't worry, next time the poker gods will fill you up on the river and you will crush his str8.