This question already has an answer here:
I'm happy working for my current employer and I'm paid relatively well. Recently I decided to interview at another company, the process went very well and knowing that I'm not actively looking for jobs, they offered me a pretty handsome salary and a bigger role to persuade me to join them. There are circumstances that will make switching jobs hard for me at the moment, so generally I plan to reject the offer and stay at my current employer. However, discussing the offer with my manager can potentially gain me a bigger pay and a bigger role at my current company. What are the ways this can backfire, and should I do this in the first place? If yes - then how to approach this discussion better?