Having a bigger brain does not guarantee more cognitive power.
If it happen then the elephant would more intelligent than human because elephant brain weighs about nine pounds and the whale brain can weigh up to 20 pounds while a human brain weigh roughly three pounds.