If the mountain will no come to Mahomet, Mahomet must go to the mountain. meaning

HOME PROVERBS

happen

If the mountain will no come to Mahomet, Mahomet must go to the mountain.

said to mean that:
If we cannot get our own way, when something we expect to happen, it doesn't happen, we should find an alternative and make it happen ourselves.