I have a sense of guilt when I compare myself to my high school friends who have to work longer, work harder, and get paid significantly less. They are just as smart, they just made different choices. And this sense of guilt and of feeling like I don't deserve it just compounds the imposter syndrome to the point I can't even enjoy what I have because I think that at any moment I'll be "discovered" and lose everything…
Most people fall within a similar range of intelligence, and where they end up in life is far more a result of the choices they made than how smart they are. So you made a bunch of choices, like learning tech, etc, and they made a bunch of choices, like maybe partying instead of studying, and now you get to enjoy the rewards.
You shouldn’t feel guilty about that, you earned it by making better choices.