I was in late position and thought I would hit my flush after the flop, guess I was wrong. Should I have folded there? I figured with only a 4, 2, 7 showing that my opponent would have been going for the flush or had a high pocket pair, guess I was wrong

*** SUMMARY ***
Total pot 25,790 | Rake 0
Board: [4c 2s 7c 3s 4d]
Seat 1: FlushNutz1 (button) folded before the Flop
Seat 2: mrlimpitt67 is sitting out
Seat 3: verymuchmale (small blind) showed [Ad 2d] and won (25,790) with two pair, Fours and Twos
Seat 4: leha163 (big blind) folded before the Flop
Seat 5: Kranston01 folded before the Flop
Seat 6: Beg33 folded before the Flop
Seat 7: perper1965 folded on the Flop
Seat 8: seresjoco folded before the Flop
Seat 9: Thirdi3 showed [8c Ac] and lost with a pair of Fours