That part of your brain that decides to call the shove and play a flip pre flop with your pocket 4s is the emotional part of your brain even though you knew you should've shoved since there's not too many
hands you're beating. At best, you'll be up against AQ+.
You probably are on a bit of tilt which you're not aware of or you've been folding so much and now that you got a hand with bit of strength, all that pent up action from folding so much, takes over and convinces you to take a leap when you don't have to.
You should ask yourself 'What do I gain by doing this?" and "What are the consequences of doing this?"
You call and lets say you win with a set. Is it really winning though?
The villain who lost and everyone at the table is now aware that you're a recreational, non thinking player. Your table image has changed including how your opponents now play against you (looser ranges most likely).
You're setting yourself up for more headache spots in the future.