used as
A consolation to someone whose relationship has ended: there are many other people that they could have a relationship with. It can be used and for other situations, indicating that something lost can be replaced.
also
There are as good fish in the sea aw ever came out of it.