‘Auto Draft’ Post showing in wordpress loop

Change published to publish.

$args = array (
    'post_type'       => 'step_to_hs',
    'post_status'     => 'publish',
);

// The Query
$query = new WP_Query( $args );

Reference

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)