https://www.dol.gov/agencies/whd/immigration/h1b
"The H-1B program applies to employers seeking to hire nonimmigrant aliens as workers in specialty occupations or as fashion models of distinguished merit and ability. A specialty occupation is one that requires the application of a body of highly specialized knowledge and the attainment of at least a bachelor’s degree or its equivalent. The intent of the H-1B provisions is to help employers who cannot otherwise obtain needed business skills and abilities from the U.S. workforce by authorizing the temporary employment of qualified individuals who are not otherwise authorized to work in the United States."
At least according to the U.S. government's Department of Labor, H-1B is a nonimmigrant visa, offering temporary employment, for specialty occupations that cannot be found in the U.S. workforce. That said, it is highly likely there is some other official government source backing up your claim that it (as you quote from somewhere) "allows foreigners to be temporarily present in the U.S. with lawful status and immigrant intent". The U.S. government has a reputation for providing conflicting information!