Its not possible to say if you do not give your starting stack size? Lets assume you had 100bb.
In that case, I do not agree with the river fold decision, although it very much depends on the opponent type and his combo counting ability, plus on the game dynamic. But for learning lets analyse the hand in depth.
Before putting your opponent on a range, lets see what your range is from opponent's perspective? you might have suited Tx, 66+ in your turn calling range. which is 49 combos.
Spoiler
KK+, JJ, 99-77, QdQh, QdQc, QhQc, TdTc, 6h6c, AdTd, AcTc, KdTd, KcTc, QdTd, QcTc, JdTd, JcTc
on the river by going allin, your opponent needs you to fold around 42% times. So if he 3rd barrels you on the river its a clear success for him if you fold JJ.
To understand this more clearly, lets define his range now. He would cbet almost 80%-100% of his range on the TT6 flop, may be we can exclude some of the trips/fullhouses/airs. On turn 6s he would cbet for 33% FEq as he bettet haf pot. Now you will fold your some AKs,AQs those called preflop & flop for showdown value+BDFD, you will fold your lower PP 22-55 if any, 78s,89s if you floated for gutshot+BDFD on flop, and some of the combos from 77-JJ. Hence for him to be able to bet 50% pot on the turn, he had enough FEq if your own player image for flop calling range in 3bet pots is not too tight.
And on the river if you fold JJ,99,88,77 from your 49 combos he would get the required fold equity. Therefore JJ should be within your calling range on river, thus your calling range remains balanced.
Moreover you need to win the pot only around 28% times, not always.