Assuming this is in the US (as tagged) there is some (probably a lot, depending on field) risk under the current administration. Many grants have been terminated without notice or apparent cause. There seems to be hostility toward science at the moment. Opinion seems to trump actual scientific knowledge (pun intended).
In "quieter" times there is also risk that a grant will end at some date certain and not be renewed. That might serve your interests or not, but it is risky to try to build a career on such things.
Don't give up on other options and consider the risk. If you get an offer, or close to one, try to work out the consequences of early termination of the grant and whether alternate funding would be available. Even if it isn't terminated early, ask about continued funding possibilities for the end of grant funding. In particular, try to explore the possibility of a transition to a permanent position. This might be possible if the lab has projects that extend beyond the life of any particular grant.
And, develop a career plan that depends less on the unknown if you can, and work toward it continuously.
There is risk in everything, of course; even tenure track positions. But a position for which there is some long term funding plan by the institution is preferable to alternatives.