In my misspent youth, I worked for a scientist who primarily did studies for clients. His first question was, “what are you trying to prove?” It was then my job to arrange data that proved what the client wanted to prove. Sometimes the data did prove it. Sometimes the data said the opposite, but you couldn’t tell that from the write-up. The scientist got lots of grants. As a result, he had the biggest lab and office of his competitors at the university. He who brings in the most cash wins. “Science” takes a back seat to cash.
No. You didn't. You worked for a scam artist.
Read Gen.Blather’s post #6 about the college professor he worked for as a student.