Leaving Aerospace for a job in Tech

Hello, I was looking for some advice on a decision I’ve been facing.

I have 5 years of experience as an airframe structural engineer but I no longer see the value of staying in the aerospace industry.

My friends with 5 years of experience in tech are all 3x my salary minimum. I also don’t see my salary ever catching up nor will I get the perks I do. I enjoy the work I do but I feel like I am not rewarded properly for the work I do.

Has anyone been in the same decision? What did you do? Looking for advice, haven’t made a choice yet.

Cheers.