Did the PlayStation Vita fail due to cost?

Few developers were willing to make games for the console because of development costs, which led to less games and decreased console sales. Then, since the Vita wasn’t selling well, even fewer developers wanted to create titles for it. They preferred the 3DS because of its sales numbers and lower development costs.

What do you think ?