Never let something like gender hold you back from pursuing anything in life! If engineering is something you love and want to do, then do it. If you succeed in classes associated with engineering, be present in various engineering clubs, and prove yourself in an internship, you will be taken seriously, no matter your gender. Go forward with your educational and career plans and work hard, just as any other gender or major, and you will get noticed.
Women engineers have increased in the past 20 years, but there is still room for improvement. Just like you, many women hear things from other people and get discouraged from pursuing a career in engineering. Saying that engineering is only for men is a myth. My sister is 27 years old and a successful industrial engineering manager for a top worldwide company. For more confidence and reassurance, here is the website for the Society of Women Engineers:
I would recommend joining and speaking with other women engineer to see how they dealt with struggles in their career.