Former Rep. Ron Paul (R-Texas) said Tuesday that President TrumpDonald John TrumpBen Carson says he's 'out of the woods' after being 'extremely sick' with COVID-19 Biden will receive @POTUS Twitter account on Jan. 20 even if Trump doesn't concede, company says Trump to participate in virtual G-20 summit amid coronavirus surge MORE's proposed wall along the southern border is not the best solution to curbing illegal immigration.

"I don't like walls. I don't want to wall people in and wall people out," Paul said on CNBC's "Squawk Box."

"I don’t want free, open borders either," he continued. "I think you have to remove the incentives for people to come."

ADVERTISEMENT

Paul, who ran for president in 2008 and 2012, argued that welfare programs and an easy path to citizenship entice immigrants to come to the U.S. He suggested that removing those incentives would be a more effective deterrent to illegal immigration.

Paul's comments come as the government enters the 18th day of a partial government shutdown that has been spurred by Trump's demand for more than $5 billion in funding for a wall along the U.S.-Mexico border.

Democrats have offered $1.3 billion for border security measures but have refused to provide money for the wall.

Trump is set to deliver an address on Tuesday night and visit the southern border on Thursday as he continues to press his case for the wall.

Paul's son, Sen. Rand PaulRandal (Rand) Howard PaulRick Scott tests positive for coronavirus Overnight Defense: Formal negotiations inch forward on defense bill with Confederate base name language | Senators look to block B UAE arms sales | Trump administration imposes Iran sanctions over human rights abuses Senators move to block Trump's B UAE arms sale MORE (R-Ky.), suggested last week that a compromise between the two sides that includes some type of funding for the wall could lead to an end to the shutdown, WKMS in Kentucky reported. Paul, who is an adamant fiscal conservative, has emerged as a key ally of the president's in the Senate.