Tell me if it is correct to use the preposition and the word together in the following sentence.
Kate extended her hand to me to greet me.
I feel that the sentence sounds correct, but I doubt because I couldn't an example sentence with the word and preposition in dictionaries.