There's a huge amount of influence of Greek in Spanish, so I am not surprised idioms are shared as well. (Spanish is kind of amazing in that it has Latin and Greek roots, but also has a lot of Arabic words like Ojalá, Camisa, azúcar, guitarra, blusa, pantalon, fulano, rehen, tarea, etc...