This is why you don't need to give a 2 week notice, and you should always have your resume updated.
Need to take an offer knowing odds are a way better one is coming down the pipe, do it. They can lose budget and cut your role before you start.
Don't treat any job like a dream job, if you get there and nothing works, you have a nightmare.
My dream right now is to work hard until I'm 40 and retire. I can't imagine doing this for another 30 years .