Doesn't look like you did anything wrong.
There were 2 clubs on the board and then it paired up. The board turned your straight into a hand that could go very bad on the river.
If I had your straight and that board I wouldn't want to see the river.
You bet out and took your pot down.
mark it in the win column and move on.