昨日の友は今日の敵(きのうのともはきょうのてき)

Japanese vocabulary

Meaning: a friend today may turn against you tomorrow

See it used in real works