The ruling, which was 6-3 with conservative justices comprising majority, effectively ended the $400 billion plan which was announced in the name of President Joe Biden last year.