KJV (2) to do what

Verse ReferenceVerse Text
2Sa 19:18And there went over a ferry boat to carry over the king's household, and to do what he thought good. And Shimei the son of Gera fell down before the king, as he was come over Jordan;
Mat 20:15Is it not lawful for me to do what I will with mine own? Is thine eye evil, because I am good?