Hello. Please help me with the grammar problem. Is it necessary to use the preposition "to" in the following sentence:

"May you get as much happiness as you give (to) other people."
Thank you very much for help.

You can use it or omit it. Either way is fine.