Check the picture below.
all slant-heights are the same in a square pyramid, so yes, PY = PZ.
if you notice in the picture, the green line is longer than the black dashed line, now, we're using some values for the sake of examplifying, so the side at the base for the slant-height is shorter than the the side at the base for the corner of the pyramid, and therefore PY > PB.
must the slant-height be greater than the altitude? well, notice on that yellow triangle, the slant-height is the hypotenuse and the hypotenuse is always greater than the other sides in a right-triangle.
could the edges be the same length? well, we can squeeze that well for the base sides and the slant-heights, but we can't for the corners, the corners must always be longer than the slant-heights, so nope.