Bind-off problems

Hi! I’m new to knitting and just completed my 1st scarf…but I can figure out the bind-off. I am left with one stitch on the needle and when I pull it off, the stitch comes apart. What am I doing wrong?
Any advice is greatly appreciated!:slight_smile:

Cut the yarn and pull out the loop part or put the tail through the loop and tighten.