宝さかって入る時はさかって出る(たからさかっているときはさかってでる)

Japanese vocabulary

Meaning: ill-gotten gains fade as fast as they were obtained

See it used in real works