i once told a co worker about an upcoming job promotion and they applied for it themselves, but also made me look bad in the process.
it did, but it could have ended very badly for me or even have resulted in me losing my job.
yeah, that is good. it is hard to know whether to blow the whistle sometimes. it could always come back for you. i am glad that it sounds like it worked out.