Help - Night Nursing

Hi ladies. I’m in a dilemma as I want to wean my baby from nursing and I’m struggling a lot as she wants to nurse through the night. She wakes up every 2 hours and I have to either rock her to sleep or nurse her to sleep. Sometimes I’m so tired that I just sleep with her next to me while she nurses and this means she just uses me as a pacifier for hours it seems. She’s 10 months old and I want to stop nursing (personal choice) but I just can’t seem to find a way to make her sleep through the night. Help!