proverb

If wishes were horses, beggars might ride.

wish

means that

If wishing for things would make it happen, then everybody would have everything they desire; however, it doesn't work that way, one has to work.