The cube was the symbol of earth and of Cybele. It is said that the great Kaaba at Mecca was originally dedicated to Cybele.
In Gematria, cube numbers often had a special significance. For instance, Peter (i.e. Petrus: Rock) was also known as Cephas, whose geomatrian number was 9 x 9 x 9 = 729.