As long as the redirects are to relevant web pages, it isn't going to hurt and your website is not going to be penalized by Google. If you share more details about the history of the old websites that are being redirected, and the new website, I can tell you exactly if that's going to hurt.
Good solution is to do a 1:1 redirect for all the pages instead of redirecting all pages to root domain.