It's a mistake to think you're learning statistics when you're learning about measure theory, just like it's a mistake to think you're learning physics when you're learning about differential equations. The mathematical tools used in a subject are not the same as the subject itself.