Not true in the slightest. Ancient Greece and Rome all the way up untill the Holy Roman Empire had no problems with homosexuality especially when it was citizens against members of the lower classes.
Homosexuality was quite common and accepted in Europe until the widespread adoption of Christianity.