Midrash Tanchuma
Another explanation. He is likened to stone because it destroyed a heart of stone, as it is written: And I will remove the stony heart out of their flesh, and will give them a heart of flesh (Ezek. 36:21). Which smote the image (Dan. 2:34) indicates that He will put an end to all the nations, as is said: And he shall smite the land with the rod of His mouth (Isa. 11:4). At that time Israel will dwell in ease and security in the world, as it is stated: And they shall dwell safely therein, and shall build houses, and plant vineyards therein; yea, they shall dwell safely (Ezek. 28:26).