Is getting venture capital similar to winning the lottery?

NO!

A lottery win means you receive the money with no obligations.

Getting Venture Capital means it is only the beginning of your journey and that you are selling part of your company with an expectation that it will grow and be worth more money in the future. This comes with a huge amount of pressure and a lot of work!