Why are beds elevated?

even if you secure the legs, elevated beds don’t stop bedbugs. they climb up the wall and swan dive towards your delicious flesh.