if nobody has the full or quads (in this case you have zero chance) then one of them still has the possibility to get the full in the river so your flush has one or two cards less that gave you the winner and worse than that you didnt know what the last player were going to do so, and add the possibility that one of them would hold the same suited cards but with a higher card
in this case when all the cards are open and before the river was dealt you still had 12 cards out of 46 that gave you the hand, but you only put at this stage 80/1500 chips, so not commited at all
and yes you could double or tripled in this scenario but still with odds in 12/46 was not smart to keep in,
so the only right decision was the one you made, then yes you spend a time thinking in the what if situations (which is why poker is so mental) but the positive
equity is in the way you played
i fold today a hand holding AK against 2 villains in a flop Kd3c2c I cbet and both players shoved so i thought one of them flopped a set and the other had a draw at the end you think in the what if again but i it doesnt work like that when you make the right decision in the long term you will win more (or lose less)