How do you deal with feeling like the least interesting person in the room

Whenever I’m around people who have cool stories or seem super confident I feel like I have nothing interesting to share or I just come off as boring It makes it hard to engage and sometimes I just stay quiet to avoid sounding lame

Anyone else feel this way How do you boost your confidence and stop comparing yourself to others in social situations

Would love to hear your thoughts