Yeah, having the perspective of people outside your bubble definitely helps. Outside of software engineers, I have seen this quite a bit in people I know that became doctors: its the natural thing to compare yourself to your perceived peers, so the comparison becomes the people at your hospital who are making more. The sudden reminder that there is a world outside of your bubble is a bit like splashing cold-water on your face.