He wanted to get rid of you because
he does not think you fit in the group, did not make the contribution he has expected, for technical or non-technical reasons. Therefore, he tried to solve the problem by positively proposing you to look for other positions in the organization.