where do magnets get their energy from?

No.11925675 ViewReplyOriginalReport
in pic related, the attraction between the magnets negates the force done by gravity, causing the blue magnet to stay motionless in the air. where does the energy needed to do this come from? like, that magnet could stay suspended in the air like that forever, how do those magnets not run out of energy or something?