From a Catholic standpoint, and AFAIU, one prays to saints to intercede for one, on one´s behalf, to God. That being said, if you ask for help or a miracle to a saint through a prayer, and if you at some point get it, then the help/miracle was done by God but because of the saint´s intercession.
Now, I've read about a miracle by Saint Charbel. In summary, a woman named Nohad El Shami was diagnosed with hemiplegia and the doctors said that there was no cure, and that a surgery might help. Their sons asked help from St. Charbel, got consecrated oil and soil from St. Charbel´s tomb for his mother, and at some point St. Charbel healed her from hemiplegia, with the help of Saint Maroun. Then St. Charbel said the following to Nohad through a dream:
"I did the surgery to let people see and return to their faith. I ask you to visit my hermitage in Annaya on the 22nd of every month and attend Mass regularly for the rest of your life."
Does this means that God gifted him to perform miracles or to give help? Or did God "sent" him somehow to do the miracle, in this case the surgery? What happened here?
I apologize in advance if I'm saying something wrong, I don't much about religion.
Could someone clarify this please, from a Catholic point of view, please?