What is the meaning of [Don’t make a rod for your own back]

Don’t make a stick with which you yourself may be beaten. In other words,
don’t do anything that may get you into trouble later on.

> ‘When I offered to start a Youth Club in the town, I didn’t know what I was
letting myself in for. Talk about making a rod for my own back! It’s a whole-
time job these days.’