“Shake the trunk of the palm-tree toward you, it will drop upon you ripe, fresh dates.”
[Q 19: 25]
One should seek means within one’s ability. Allah, be exalted, made the trunk of the palm tree produce dates. However, He ordered Maryam to shake the trunk so the dates would fall down, which was within her ability.