bring into line

[bring into line] {v. phr.} To make someone conform to the accepted standard.

Sam had to be brought into line when he refused to take his muddy shoes off the cocktail table.