This is either ignorance or intellectual dishonesty. Buddha rejected hinduism outright: he rejected it's "revealed" scripture the Vedas, he rejected it's idiotic casteism, he rejected it's sacrifices to the gods etc....
On the contrary it was Hinduism that borrowed it's high philosophy, Advaita Vedanta, from Mahayana Buddhism.





