Feather your nest

Photo of a nest
To feather your nest means to use a position of power or opportunity to gain money or advantages for yourself, often in an unfair or dishonest way.

The expression comes from the way birds line their nests with feathers and soft materials to make them comfortable. The phrase compares this to someone quietly making their own situation more comfortable.

The official was accused of feathering his nest with public funds.