I wanted to cut my leg off

Has anybody else experienced aching in your hip and thigh? My right hip and thigh were aching so bad for hours last night and it was soooooo brutal.

I’m 36 weeks so every time something like this happens I’m like “this is it, it’s beginning” LOL

I’m just not sure if that leg pain could be pregnancy related or not. I assumed it was.