Delete column from content types

A client asked if a certain column could be deleted from their site collection. It was a column from a list content type, which could be deleted from the content type, but because it was after a migration, the column still showed on every list. I used below script to successfully delete the column from…