A LION roaming by the seashore saw a Dolphin lift up its head out of the waves , and suggested that they contract an alliance , saying that of all the animals they ought to be the best friends , since the one was the king of beasts on the earth , and the other was the sovereign ruler of all the inhabitants of the ocean .