Be riding for a fall phrase
To be doing something too confidently, and such that might result in something unpleasant, such as failure, problems, or disaster, happening.
Anyone who invests in such an untrustworthy company is riding for a fall.
I think the politician is riding for a fall with his tirade of abuse against working-class voters.
This phrase originated as a late 19th-century horse-riding expression, meaning to ride a horse, especially in the hunting field, in such a way as to make an accident likely.
Said when one is looking back on something enjoyable or worthwhile in the moment that it was happening even though it was impermanent
The party came to an end, but it was fun while it lasted.