Drum it into your head

Does anybody know where or the history of the phrase "drum into your head" came from?
Thanks.
Best, Linda

Merriam-Webster:

3 : to drive or force by steady effort or reiteration. Drummed the speech into her head.