成るように成る(なるようになる)

Japanese vocabulary

Meaning: whatever will be, will be; things happen the way they happen; let nature take its course

See it used in real works